|
|||||||||
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()
|
java.util.Iterator |
descriptorIterator()
Returns an iterator over all the known descriptors in the original order they have been added. |
BindingType |
getBindingType()
|
java.lang.ClassLoader |
getClassLoader()
Returns the class loader associated with this mapping loader if one was specified. |
ClassDescriptor |
getDescriptor(java.lang.String classname)
Returns the ClassDescriptor for the class with the given name. |
java.util.List |
getDescriptors()
Returns a List of ClassDescriptor s of all known descriptors. |
java.lang.String |
getSourceType()
|
void |
setClassLoader(java.lang.ClassLoader loader)
|
Method Detail |
---|
BindingType getBindingType()
java.lang.String getSourceType()
void clear()
void setClassLoader(java.lang.ClassLoader loader)
java.lang.ClassLoader getClassLoader()
ClassDescriptor getDescriptor(java.lang.String classname)
classname
- The className for which to return the associated ClassDescriptor.
java.util.Iterator descriptorIterator()
ClassDescriptor
.
java.util.List getDescriptors()
ClassDescriptor
s of all known descriptors.
ClassDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |