Top Description Methods
org.glassfish.hk2.api

public Interface HK2Loader

Known Direct Implementers
org.glassfish.hk2.utilities.HK2LoaderImpl

This class is responsible for loading classes, and different implementations can be used for different descriptors.
Author
jwells

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

The class to be loaded. May not return null
loadClass
(String
The descriptor to convert into an ActiveDescriptor
className
)

Loads a class given the class name to instantiate

Method Detail

loadClassback to summary
public Class<?> loadClass(String className) throws MultiException

Loads a class given the class name to instantiate

Parameters
className:String

The descriptor to convert into an ActiveDescriptor

Returns:Class<?>

The class to be loaded. May not return null

Exceptions
MultiException:
If this loader had some problem loading the class