|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.util.resolvers.AbstractResolverPackageCommand
public abstract class AbstractResolverPackageCommand
The abstract resolver command provides the argument checking, writes a debug message and reads the class loader from the properties... All specific code is found in the extended classes.
| Constructor Summary | |
|---|---|
AbstractResolverPackageCommand()
|
|
| Method Summary | |
|---|---|
protected abstract Map<String,ClassDescriptor> |
internalResolve(String packageName,
ClassLoader classLoader,
Map props)
The required parameter checks are in the public method and here we expect that the resolve logic itself is implemented. |
protected boolean |
isEmptyPackageName(String packageName)
Is the given package name empty? |
Map<String,ClassDescriptor> |
resolve(String packageName,
Map properties)
The one and only purpose resolver commands are good for ;-) . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractResolverPackageCommand()
| Method Detail |
|---|
public final Map<String,ClassDescriptor> resolve(String packageName,
Map properties)
throws ResolverException
resolve in interface ResolverPackageCommandpackageName - the name of the package to resolveproperties - the Properties to be used at resolve
ResolverException - in case that resolving fails fatallyprotected final boolean isEmptyPackageName(String packageName)
packageName - the package name to check
protected abstract Map<String,ClassDescriptor> internalResolve(String packageName,
ClassLoader classLoader,
Map props)
throws ResolverException
className - the name of the class to resolveclassLoader - the class loader to useprops - the resolve properties to use
ResolverException - in case of unrecoverable problems at resolving
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||