public class AnnotationComponentGleaner extends ComponentGleanerSupport implements ClassComponentGleaner
ComponentDescriptor.| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
OBJECT_SLASHED_NAME |
ROLE| Constructor and Description |
|---|
AnnotationComponentGleaner() |
| Modifier and Type | Method and Description |
|---|---|
private PlexusConfiguration |
findConfiguration(AnnField field,
AnnClass c,
java.lang.ClassLoader cl) |
private ComponentRequirement |
findRequirement(AnnField field,
AnnClass annClass,
java.lang.ClassLoader cl) |
private java.util.List<AnnClass> |
getClasses(AnnClass annClass,
java.lang.ClassLoader cl)
Returns a list of all of the classes which the given type inherits from.
|
ComponentDescriptor<?> |
glean(java.lang.String className,
java.lang.ClassLoader cl) |
private AnnClass |
readClass(java.lang.String className,
java.lang.ClassLoader cl) |
private AnnClass |
readClass2(java.lang.String className,
java.lang.ClassLoader cl) |
addChildConfiguration, deHump, filterEmptyAsNull, isRequirementListTypepublic ComponentDescriptor<?> glean(java.lang.String className, java.lang.ClassLoader cl) throws ComponentGleanerException
glean in interface ClassComponentGleanerComponentGleanerExceptionprivate AnnClass readClass(java.lang.String className, java.lang.ClassLoader cl) throws ComponentGleanerException
ComponentGleanerExceptionprivate AnnClass readClass2(java.lang.String className, java.lang.ClassLoader cl) throws ComponentGleanerException
ComponentGleanerExceptionprivate java.util.List<AnnClass> getClasses(AnnClass annClass, java.lang.ClassLoader cl) throws ComponentGleanerException
ComponentGleanerExceptionprivate ComponentRequirement findRequirement(AnnField field, AnnClass annClass, java.lang.ClassLoader cl) throws ComponentGleanerException
ComponentGleanerExceptionprivate PlexusConfiguration findConfiguration(AnnField field, AnnClass c, java.lang.ClassLoader cl)