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

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.AbstractComponentProcessor<MD>
          extended by org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor<SessionBeanMetaData>
              extended by org.jboss.metadata.annotation.creator.ejb.AbstractSessionBeanProcessor
                  extended by org.jboss.metadata.annotation.creator.ejb.StatefulProcessor
All Implemented Interfaces:
Creator<Class<?>,SessionBeanMetaData>, Processor<EjbJar3xMetaData,Class<?>>

public class StatefulProcessor
extends AbstractSessionBeanProcessor

Create the correct meta data for a stateful annotation.

Version:
$Revision: 67165 $
Author:
Carlo de Wolf, Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractComponentProcessor
boundedTypes, fieldProcessors, methodProcessors, typeProcessors
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
StatefulProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 SessionBeanMetaData create(Class<?> beanClass)
          Create a piece of meta data based on the given element.
protected  SessionBeanMetaData create(Class<?> beanClass, javax.ejb.Stateful annotation)
           
 
Methods inherited from class org.jboss.metadata.annotation.creator.ejb.AbstractSessionBeanProcessor
create
 
Methods inherited from class org.jboss.metadata.annotation.creator.ejb.AbstractEnterpriseBeanProcessor
process
 
Methods inherited from class org.jboss.metadata.annotation.creator.AbstractComponentProcessor
addFieldProcessor, addMethodProcessor, addTypeProcessor, getProcessorMetaDataType, process, process, processClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.annotation.creator.Processor
process
 

Constructor Detail

StatefulProcessor

public StatefulProcessor(AnnotationFinder<AnnotatedElement> finder)
Method Detail

create

public SessionBeanMetaData create(Class<?> beanClass)
Description copied from interface: Creator
Create a piece of meta data based on the given element.

Specified by:
create in interface Creator<Class<?>,SessionBeanMetaData>
Specified by:
create in class AbstractSessionBeanProcessor
Parameters:
beanClass - the element
Returns:
the meta data or null if nothing interesting is found

create

protected SessionBeanMetaData create(Class<?> beanClass,
                                     javax.ejb.Stateful annotation)


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