org.jboss.metadata.annotation.creator.ejb
Class ApplicationExceptionProcessor

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.ejb.ApplicationExceptionProcessor
All Implemented Interfaces:
Creator<Class<?>,ApplicationExceptionMetaData>, Processor<EjbJar3xMetaData,Class<?>>

public class ApplicationExceptionProcessor
extends AbstractFinderUser
implements Creator<Class<?>,ApplicationExceptionMetaData>, Processor<EjbJar3xMetaData,Class<?>>

Process an application exception annotation.

Version:
$Revision: 67165 $
Author:
Carlo de Wolf

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
protected ApplicationExceptionProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 ApplicationExceptionMetaData create(Class<?> element)
          Create a piece of meta data based on the given element.
 void process(EjbJar3xMetaData ejbJar, Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationExceptionProcessor

protected ApplicationExceptionProcessor(AnnotationFinder<AnnotatedElement> finder)
Method Detail

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(EjbJar3xMetaData ejbJar,
                    Class<?> type)
Specified by:
process in interface Processor<EjbJar3xMetaData,Class<?>>


Copyright ? 2008 JBoss, A division of Red Hat. All Rights Reserved.