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

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.ejb.InitProcessor
All Implemented Interfaces:
Creator<Method,InitMethodMetaData>, Processor<SessionBeanMetaData,Method>

public class InitProcessor
extends AbstractFinderUser
implements Creator<Method,InitMethodMetaData>, Processor<SessionBeanMetaData,Method>

Process an init annotation.

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

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
InitProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 InitMethodMetaData create(Method method)
          Create a piece of meta data based on the given element.
 void process(SessionBeanMetaData bean, Method method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitProcessor

public InitProcessor(AnnotationFinder<AnnotatedElement> finder)
Method Detail

create

public InitMethodMetaData 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,InitMethodMetaData>
Parameters:
method - the element
Returns:
the meta data or null if nothing interesting is found

process

public void process(SessionBeanMetaData bean,
                    Method method)
Specified by:
process in interface Processor<SessionBeanMetaData,Method>


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