org.jboss.seam.deployment
Class AnnotationDeploymentHandler

java.lang.Object
  extended by org.jboss.seam.deployment.AbstractDeploymentHandler
      extended by org.jboss.seam.deployment.AbstractClassDeploymentHandler
          extended by org.jboss.seam.deployment.AnnotationDeploymentHandler
All Implemented Interfaces:
ClassDeploymentHandler, DeploymentHandler

public class AnnotationDeploymentHandler
extends AbstractClassDeploymentHandler


Field Summary
static String ANNOTATIONS_KEY
           
static String NAME
          Name under which this DeploymentHandler is registered
 
Constructor Summary
AnnotationDeploymentHandler(List<String> annotationTypes, ClassLoader classLoader)
           
 
Method Summary
 Map<String,Set<Class<?>>> getClassMap()
          Get annotated classes
 ClassDeploymentMetadata getMetadata()
          Get DeploymentHandlerMetadata for resources this deployment handler is interested in processing.
 String getName()
          A key used to identify the deployment handler
 void postProcess(ClassLoader classLoader)
           
 
Methods inherited from class org.jboss.seam.deployment.AbstractClassDeploymentHandler
getClasses, setClasses
 
Methods inherited from class org.jboss.seam.deployment.AbstractDeploymentHandler
getResources, setResources, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.seam.deployment.DeploymentHandler
getResources, setResources
 

Field Detail

NAME

public static final String NAME
Name under which this DeploymentHandler is registered

See Also:
Constant Field Values

ANNOTATIONS_KEY

public static final String ANNOTATIONS_KEY
See Also:
Constant Field Values
Constructor Detail

AnnotationDeploymentHandler

public AnnotationDeploymentHandler(List<String> annotationTypes,
                                   ClassLoader classLoader)
Method Detail

getClassMap

public Map<String,Set<Class<?>>> getClassMap()
Get annotated classes


getName

public String getName()
Description copied from interface: DeploymentHandler
A key used to identify the deployment handler


getMetadata

public ClassDeploymentMetadata getMetadata()
Description copied from interface: DeploymentHandler
Get DeploymentHandlerMetadata for resources this deployment handler is interested in processing. If a deployment handler is interested in a number of files it should define multiple pieces of metadata


postProcess

public void postProcess(ClassLoader classLoader)
Specified by:
postProcess in interface DeploymentHandler
Overrides:
postProcess in class AbstractDeploymentHandler