Class AnnotationComponentGleaner
java.lang.Object
org.codehaus.plexus.metadata.gleaner.ComponentGleanerSupport
org.codehaus.plexus.metadata.gleaner.AnnotationComponentGleaner
- All Implemented Interfaces:
ClassComponentGleaner
public class AnnotationComponentGleaner
extends ComponentGleanerSupport
implements ClassComponentGleaner
A class component gleaner which inspects each type for
org.codehaus.plexus.component.annotations.*
annotations
and when found translates them into a ComponentDescriptor
.-
Field Summary
Fields inherited from interface org.codehaus.plexus.metadata.gleaner.ClassComponentGleaner
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.plexus.metadata.gleaner.ComponentGleanerSupport
addChildConfiguration, deHump, filterEmptyAsNull, isRequirementListType
-
Constructor Details
-
AnnotationComponentGleaner
public AnnotationComponentGleaner()
-
-
Method Details
-
glean
public ComponentDescriptor<?> glean(String className, ClassLoader cl) throws ComponentGleanerException - Specified by:
glean
in interfaceClassComponentGleaner
- Throws:
ComponentGleanerException
-