org.jboss.metadata.annotation.creator.ejb.jboss
Class ApplicationExceptionProcessor
java.lang.Object
org.jboss.metadata.annotation.creator.AbstractFinderUser
org.jboss.metadata.annotation.creator.ejb.jboss.ApplicationExceptionProcessor
- All Implemented Interfaces:
- Creator<Class<?>,ApplicationExceptionMetaData>, Processor<JBossMetaData,Class<?>>
public class ApplicationExceptionProcessor
- extends AbstractFinderUser
- implements Creator<Class<?>,ApplicationExceptionMetaData>, Processor<JBossMetaData,Class<?>>
Process an application exception annotation.
- Version:
- $Revision: 67165 $
- Author:
- Carlo de Wolf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationExceptionProcessor
public ApplicationExceptionProcessor(AnnotationFinder<AnnotatedElement> finder)
create
public ApplicationExceptionMetaData create(Class<?> element)
- Description copied from interface:
Creator
- Create a piece of meta data based on the given element.
- Specified by:
create
in interface Creator<Class<?>,ApplicationExceptionMetaData>
- Parameters:
element
- the element
- Returns:
- the meta data or null if nothing interesting is found
process
public void process(JBossMetaData ejbJar,
Class<?> type)
- Description copied from interface:
Processor
- Process a piece of meta data.
- Specified by:
process
in interface Processor<JBossMetaData,Class<?>>
- Parameters:
ejbJar
- the meta datatype
- 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<JBossMetaData,Class<?>>
- Returns:
- the processed annotation types
Copyright © 2009 JBoss Inc.. All Rights Reserved.