public abstract class AbstractResolverPackageCommand extends Object implements ResolverPackageCommand
| Constructor and Description |
|---|
AbstractResolverPackageCommand() |
| Modifier and Type | Method and Description |
|---|---|
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 ;-) .
|
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 resolveResolverException - in case that resolving fails fatallyprotected final boolean isEmptyPackageName(String packageName)
packageName - the package name to checkprotected 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 useResolverException - in case of unrecoverable problems at resolvingCopyright © 2016. All rights reserved.