org.jboss.metadata.annotation.creator.ejb.jboss
Class RemoveProcessor
java.lang.Object
org.jboss.metadata.annotation.creator.AbstractFinderUser
org.jboss.metadata.annotation.creator.ejb.jboss.RemoveProcessor
- All Implemented Interfaces:
- Creator<Method,RemoveMethodMetaData>, Processor<JBossSessionBeanMetaData,Method>
public class RemoveProcessor
- extends AbstractFinderUser
- implements Creator<Method,RemoveMethodMetaData>, Processor<JBossSessionBeanMetaData,Method>
Process @Remove annotation.
- Version:
- $Revision: 67275 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveProcessor
public RemoveProcessor(AnnotationFinder<AnnotatedElement> finder)
create
public RemoveMethodMetaData create(Method method)
- Description copied from interface:
Creator
- Create a piece of meta data based on the given element.
- Specified by:
create
in interface Creator<Method,RemoveMethodMetaData>
- Parameters:
method
- the element
- Returns:
- the meta data or null if nothing interesting is found
process
public void process(JBossSessionBeanMetaData bean,
Method method)
- Description copied from interface:
Processor
- Process a piece of meta data.
- Specified by:
process
in interface Processor<JBossSessionBeanMetaData,Method>
- Parameters:
bean
- the meta datamethod
- the annotated element
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<JBossSessionBeanMetaData,Method>
- Returns:
- the processed annotation types
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.