org.jboss.seam.deployment
Class ComponentDeploymentHandler

java.lang.Object
  extended by org.jboss.seam.deployment.AbstractDeploymentHandler
      extended by org.jboss.seam.deployment.ComponentDeploymentHandler
All Implemented Interfaces:
DeploymentHandler

public class ComponentDeploymentHandler
extends AbstractDeploymentHandler

The ComponentDeploymentHandler process Seam's component annotated with Name

Author:
Pete Muir

Field Summary
protected  Set<Class<Object>> classes
           
static String NAME
          Name under which this DeploymentHandler is registered
 
Constructor Summary
ComponentDeploymentHandler()
           
 
Method Summary
 Set<Class<Object>> getClasses()
          Get annotated Seam components
 String getName()
          A key used to identify the deployment handler
 void handle(String name, ClassLoader classLoader)
          Handle a resource
 
Methods inherited from class org.jboss.seam.deployment.AbstractDeploymentHandler
filenameToClassname, getAnnotationValue, getClassFile, hasAnnotation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

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

See Also:
Constant Field Values

classes

protected Set<Class<Object>> classes
Constructor Detail

ComponentDeploymentHandler

public ComponentDeploymentHandler()
Method Detail

getClasses

public Set<Class<Object>> getClasses()
Get annotated Seam components


handle

public void handle(String name,
                   ClassLoader classLoader)
Description copied from interface: DeploymentHandler
Handle a resource

Parameters:
name - The path to the resource
classLoader - The ClassLoader on which the resource was found
See Also:
DeploymentHandler.handle(String, ClassLoader)

getName

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