org.codehaus.plexus.cdc.gleaner
Class AnnotationComponentGleaner

java.lang.Object
  extended by org.codehaus.plexus.cdc.gleaner.ComponentGleanerSupport
      extended by org.codehaus.plexus.cdc.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.

Version:
$Id: AnnotationComponentGleaner.java 6922 2007-10-01 04:21:46Z user57 $

Field Summary
 
Fields inherited from class org.codehaus.plexus.cdc.gleaner.ComponentGleanerSupport
log
 
Fields inherited from interface org.codehaus.plexus.cdc.gleaner.ClassComponentGleaner
ROLE
 
Constructor Summary
AnnotationComponentGleaner()
           
 
Method Summary
 ComponentDescriptor glean(java.lang.Class clazz)
           
 
Methods inherited from class org.codehaus.plexus.cdc.gleaner.ComponentGleanerSupport
addChildConfiguration, deHump, filterEmptyAsNull, isRequirementListType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationComponentGleaner

public AnnotationComponentGleaner()
Method Detail

glean

public ComponentDescriptor glean(java.lang.Class clazz)
                          throws ComponentGleanerException
Specified by:
glean in interface ClassComponentGleaner
Throws:
ComponentGleanerException


Copyright © 2001-2011 Codehaus. All Rights Reserved.