org.jboss.metadata.annotation.creator.ejb.jboss
Class JBossServiceProcessor
java.lang.Object
org.jboss.metadata.annotation.creator.AbstractFinderUser
org.jboss.metadata.annotation.creator.AbstractProcessor<MD>
org.jboss.metadata.annotation.creator.jboss.AbstractComponentProcessor<MD>
org.jboss.metadata.annotation.creator.ejb.jboss.AbstractEnterpriseBeanProcessor<JBossSessionBeanMetaData>
org.jboss.metadata.annotation.creator.ejb.jboss.AbstractSessionBeanProcessor
org.jboss.metadata.annotation.creator.ejb.jboss.StatefulProcessor
org.jboss.metadata.annotation.creator.ejb.jboss.JBossServiceProcessor
- All Implemented Interfaces:
- Creator<Class<?>,JBossSessionBeanMetaData>, Processor<JBossMetaData,Class<?>>
public class JBossServiceProcessor
- extends StatefulProcessor
- implements Processor<JBossMetaData,Class<?>>
The @Service processor.
- Version:
- $Revision$
- Author:
- Emanuel Muckenhuber
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 |
JBossServiceProcessor
protected JBossServiceProcessor(AnnotationFinder<AnnotatedElement> finder)
create
public JBossSessionBeanMetaData 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<?>,JBossSessionBeanMetaData>
- Overrides:
create
in class StatefulProcessor
- Parameters:
beanClass
- the element
- Returns:
- the meta data or null if nothing interesting is found
getAnnotationTypes
public Collection<Class<? extends Annotation>> getAnnotationTypes()
- Description copied from class:
AbstractEnterpriseBeanProcessor
- Get the processed annotations types.
Inherited classes need to override the getAnnotationTypes method from AbstractProcessor
to only expose the top level class annotation.
- Specified by:
getAnnotationTypes
in interface Processor<JBossMetaData,Class<?>>
- Overrides:
getAnnotationTypes
in class StatefulProcessor
- Returns:
- processed annotations
Copyright © 2009 JBoss Inc.. All Rights Reserved.