|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface JDOClassDescriptorResolver
JDO-specific ClassDescriptorResolver instance that provides functionality
to find or "resolve" ClassDescriptors from a given class (name).
| Method Summary | |
|---|---|
void |
addClass(java.lang.Class<?> domainClass)
Adds a given Class instance manually, so that it can be loaded from
the file system. |
void |
addPackage(java.lang.String packageName)
Adds a given package name manually, so that class descriptors can be loaded from this package (from the file system). |
java.util.Iterator<ClassDescriptor> |
descriptorIterator()
Returns an iterator over all the known descriptors in the original order they have been added. |
java.lang.ClassLoader |
getClassLoader()
Returns the ClassLoader instance as used internally. |
void |
registerDescriptor(java.lang.Class<?> type,
ClassDescriptor classDescriptor)
Registers a ClassDescriptor with the descriptor cache. |
ClassDescriptor |
resolve(java.lang.String type)
Returns the ClassDescriptor for the given class. |
| Methods inherited from interface org.exolab.castor.xml.ClassDescriptorResolver |
|---|
getMappingLoader, resolve, setMappingLoader |
| Method Detail |
|---|
ClassDescriptor resolve(java.lang.String type)
throws ResolverException
type - the class name to find the ClassDescriptor for
ResolverException - Indicates that the given Class
cannot be resolved.void addClass(java.lang.Class<?> domainClass)
Class instance manually, so that it can be loaded from
the file system.
domainClass - A given Class instance.void addPackage(java.lang.String packageName)
packageName - A given package name.java.util.Iterator<ClassDescriptor> descriptorIterator()
ClassDescriptor.
Iterator over all the known JDO class descriptors.java.lang.ClassLoader getClassLoader()
ClassLoader instance as used internally.
ClassLoader instance used internally.
void registerDescriptor(java.lang.Class<?> type,
ClassDescriptor classDescriptor)
ClassDescriptor with the descriptor cache.
type - Type of the class described by the ClassDescriptor to register.classDescriptor - The ClassDescriptor to register with the cache.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||