ResolverPackageCommand
ByCDR
, ByPackageMapping
public abstract class AbstractResolverPackageCommand extends java.lang.Object implements ResolverPackageCommand
Constructor | Description |
---|---|
AbstractResolverPackageCommand() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract java.util.Map<java.lang.String,ClassDescriptor> |
internalResolve(java.lang.String packageName,
java.lang.ClassLoader classLoader,
java.util.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(java.lang.String packageName) |
Is the given package name empty?
|
java.util.Map<java.lang.String,ClassDescriptor> |
resolve(java.lang.String packageName,
java.util.Map properties) |
The one and only purpose resolver commands are good for ;-) .
|
public final java.util.Map<java.lang.String,ClassDescriptor> resolve(java.lang.String packageName, java.util.Map properties) throws ResolverException
resolve
in interface ResolverPackageCommand
packageName
- the name of the package to resolveproperties
- the Properties to be used at resolveResolverException
- in case that resolving fails fatallyprotected final boolean isEmptyPackageName(java.lang.String packageName)
packageName
- the package name to checkprotected abstract java.util.Map<java.lang.String,ClassDescriptor> internalResolve(java.lang.String packageName, java.lang.ClassLoader classLoader, java.util.Map props) throws ResolverException
className
- the name of the class to resolveclassLoader
- the class loader to useprops
- the resolve properties to useResolverException
- in case of unrecoverable problems at resolvingIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com