org.jboss.metadata.annotation.creator
Class PreDestroyMethodProcessor
java.lang.Object
org.jboss.metadata.annotation.creator.AbstractFinderUser
org.jboss.metadata.annotation.creator.AbstractLifeCycleMethodProcessor
org.jboss.metadata.annotation.creator.PreDestroyMethodProcessor
- All Implemented Interfaces:
- Creator<Method,LifecycleCallbackMetaData>, Processor<RemoteEnvironmentRefsGroupMetaData,Method>
public class PreDestroyMethodProcessor
- extends AbstractLifeCycleMethodProcessor
- implements Processor<RemoteEnvironmentRefsGroupMetaData,Method>
Translate @PreDestroy into LifecycleCallbackMetaData for
EnvironmentRefsGroupMetaData
- Version:
- $Revision: 76002 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreDestroyMethodProcessor
public PreDestroyMethodProcessor(AnnotationFinder<AnnotatedElement> finder)
- Parameters:
finder
-
process
public void process(RemoteEnvironmentRefsGroupMetaData metaData,
Method element)
- Description copied from interface:
Processor
- Process a piece of meta data.
- Specified by:
process
in interface Processor<RemoteEnvironmentRefsGroupMetaData,Method>
- Parameters:
metaData
- the meta dataelement
- 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<RemoteEnvironmentRefsGroupMetaData,Method>
- Returns:
- the processed annotation types
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.