org.jboss.metadata.annotation.creator
Class AbstractEJBProcessor<E extends AnnotatedElement>
java.lang.Object
org.jboss.metadata.annotation.creator.AbstractFinderUser
org.jboss.metadata.annotation.creator.AbstractInjectionTargetProcessor<E>
org.jboss.metadata.annotation.creator.AbstractEJBProcessor<E>
- Direct Known Subclasses:
- EJBClassProcessor, EJBFieldProcessor, EJBMethodProcessor
public abstract class AbstractEJBProcessor<E extends AnnotatedElement>
- extends AbstractInjectionTargetProcessor<E>
- Version:
- $Revision: 80150 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractEJBProcessor
public AbstractEJBProcessor(AnnotationFinder<AnnotatedElement> finder)
- Parameters:
finder
-
process
public void process(AnnotatedEJBReferencesMetaData refs,
E element)
process
protected void process(AnnotatedEJBReferencesMetaData refs,
E element,
javax.ejb.EJB annotation)
getName
protected abstract String getName(E element)
- Get the ejb name based on the AnnotatedElement
- Parameters:
element
-
- Returns:
getType
protected abstract Class getType(E element)
- Get the business interface class based on the AnnotatedElement
- Parameters:
element
-
- Returns:
createEJB
protected AnnotatedEJBReferenceMetaData createEJB(javax.ejb.EJB annotation,
E element)
getAnnotationTypes
public Collection<Class<? extends Annotation>> getAnnotationTypes()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.