public interface ResolverStrategy
Modifier and Type | Interface and Description |
---|---|
static interface |
ResolverStrategy.ResolverResults
As a strategy generate one or more class descriptors it needs a place
to put the results to.
|
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_CLASS_LOADER
To set the class loader property for resolving.
|
static String |
PROPERTY_INTROSPECTOR
To set the introspector property for resolving.
|
static String |
PROPERTY_LOAD_PACKAGE_MAPPINGS
To set the LoadPackageMappings property for resolving.
|
static String |
PROPERTY_MAPPING_LOADER
To set the mapping loader property for resolving.
|
static String |
PROPERTY_USE_INTROSPECTION
To set the use introspection property for resolving.
|
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
resolveClass(ResolverStrategy.ResolverResults resolverResults,
String className)
Implementes a strategy how a class is resolved into a list of class descriptors.
|
void |
resolvePackage(ResolverStrategy.ResolverResults resolverResults,
String packageName)
Implementes a strategy how a package is resolved into a list of class descriptors.
|
void |
setProperty(String key,
Object value)
To set properties for strategy and/or commands.
|
static final String PROPERTY_CLASS_LOADER
static final String PROPERTY_USE_INTROSPECTION
static final String PROPERTY_INTROSPECTOR
static final String PROPERTY_LOAD_PACKAGE_MAPPINGS
static final String PROPERTY_MAPPING_LOADER
void setProperty(String key, Object value)
key
- name of the propertyvalue
- value the property is set toClassDescriptor resolveClass(ResolverStrategy.ResolverResults resolverResults, String className) throws ResolverException
resolverResults
- to put the resolver reszlts intoclassName
- the class to resolveResolverException
- in case that resolving fails fatallyvoid resolvePackage(ResolverStrategy.ResolverResults resolverResults, String packageName) throws ResolverException
resolverResults
- to put the resolver reszlts intopackageName
- the package to resolveResolverException
- in case that resolving fails fatallyCopyright © 2017. All rights reserved.