|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MappingLoader
Provides the mapping descriptor for Java classes. The engines use resolvers to obtain the mapping descriptor for a particular Java class, or to list all the known descriptors. Although the interface is identical, each engine will use a resolver that returns class descriptor suitable for that particular engine. Resolvers are immutable and engines need not cache the returned descriptors.
| Method Summary | |
|---|---|
void |
clear()
|
Iterator<ClassDescriptor> |
descriptorIterator()
Returns an iterator over all the known descriptors in the original order they have been added. |
BindingType |
getBindingType()
|
ClassLoader |
getClassLoader()
Returns the class loader associated with this mapping loader if one was specified. |
ClassDescriptor |
getDescriptor(String classname)
Returns the ClassDescriptor for the class with the given name. |
List<ClassDescriptor> |
getDescriptors()
Returns a List of ClassDescriptors of all known descriptors. |
String |
getSourceType()
|
void |
setClassLoader(ClassLoader loader)
|
| Method Detail |
|---|
BindingType getBindingType()
String getSourceType()
void clear()
void setClassLoader(ClassLoader loader)
ClassLoader getClassLoader()
ClassDescriptor getDescriptor(String classname)
classname - The className for which to return the associated ClassDescriptor.
Iterator<ClassDescriptor> descriptorIterator()
ClassDescriptor.
List<ClassDescriptor> getDescriptors()
ClassDescriptors of all known descriptors.
ClassDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||