org.jboss.metadata.annotation.creator
Class EJBsClassProcessor

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.AbstractInjectionTargetProcessor<E>
          extended by org.jboss.metadata.annotation.creator.AbstractEJBProcessor<Class>
              extended by org.jboss.metadata.annotation.creator.EJBClassProcessor
                  extended by org.jboss.metadata.annotation.creator.EJBsClassProcessor
All Implemented Interfaces:
Processor<AnnotatedEJBReferencesMetaData,Class>

public class EJBsClassProcessor
extends EJBClassProcessor
implements Processor<AnnotatedEJBReferencesMetaData,Class>

Process a collection of EJB references

Version:
$Revision: 76002 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
EJBsClassProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 Collection<Class<? extends Annotation>> getAnnotationTypes()
          Get the annotations handled by this processor.
protected  String getName(Class element)
          Get the ejb name based on the AnnotatedElement
protected  Class getType(Class element)
          Get the business interface class based on the AnnotatedElement
 void process(AnnotatedEJBReferencesMetaData metaData, Class type)
          Process a piece of meta data.
 
Methods inherited from class org.jboss.metadata.annotation.creator.AbstractEJBProcessor
createEJB, process
 
Methods inherited from class org.jboss.metadata.annotation.creator.AbstractInjectionTargetProcessor
addReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBsClassProcessor

public EJBsClassProcessor(AnnotationFinder<AnnotatedElement> finder)
Parameters:
finder -
Method Detail

process

public void process(AnnotatedEJBReferencesMetaData metaData,
                    Class type)
Description copied from interface: Processor
Process a piece of meta data.

Specified by:
process in interface Processor<AnnotatedEJBReferencesMetaData,Class>
Overrides:
process in class AbstractEJBProcessor<Class>
Parameters:
metaData - the meta data
type - the annotated element

getName

protected String getName(Class element)
Description copied from class: AbstractEJBProcessor
Get the ejb name based on the AnnotatedElement

Overrides:
getName in class EJBClassProcessor
Returns:

getType

protected Class getType(Class element)
Description copied from class: AbstractEJBProcessor
Get the business interface class based on the AnnotatedElement

Overrides:
getType in class EJBClassProcessor
Returns:

getAnnotationTypes

public Collection<Class<? extends Annotation>> getAnnotationTypes()
Description copied from interface: Processor
Get the annotations handled by this processor.

Specified by:
getAnnotationTypes in interface Processor<AnnotatedEJBReferencesMetaData,Class>
Overrides:
getAnnotationTypes in class AbstractEJBProcessor<Class>
Returns:
the processed annotation types


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.