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

java.lang.Object
  extended by org.jboss.metadata.annotation.creator.AbstractFinderUser
      extended by org.jboss.metadata.annotation.creator.ejb.TimeoutProcessor
All Implemented Interfaces:
Processor<ITimeoutTarget,Method>

public class TimeoutProcessor
extends AbstractFinderUser
implements Processor<ITimeoutTarget,Method>

Process @Timeout annotation.

Version:
$Revision: 76002 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.metadata.annotation.creator.AbstractFinderUser
finder
 
Constructor Summary
TimeoutProcessor(AnnotationFinder<AnnotatedElement> finder)
           
 
Method Summary
 Collection<Class<? extends Annotation>> getAnnotationTypes()
          Get the annotations handled by this processor.
 void process(ITimeoutTarget bean, Method method)
          Process a piece of meta data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeoutProcessor

public TimeoutProcessor(AnnotationFinder<AnnotatedElement> finder)
Method Detail

process

public void process(ITimeoutTarget bean,
                    Method method)
Description copied from interface: Processor
Process a piece of meta data.

Specified by:
process in interface Processor<ITimeoutTarget,Method>
Parameters:
bean - the meta data
method - 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<ITimeoutTarget,Method>
Returns:
the processed annotation types


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.