org.jboss.seam.deployment
Class NamespaceDeploymentHandler

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

public class NamespaceDeploymentHandler
extends AbstractDeploymentHandler

A deployment handler for namespaces

Author:
Pete Muir

Field Summary
static String NAME
           
 
Constructor Summary
NamespaceDeploymentHandler()
           
 
Method Summary
 String getName()
          A key used to identify the deployment handler
 Set<Package> getPackages()
          Returns packages with @Namespace declarations
 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
See Also:
Constant Field Values
Constructor Detail

NamespaceDeploymentHandler

public NamespaceDeploymentHandler()
Method Detail

getPackages

public Set<Package> getPackages()
Returns packages with @Namespace declarations


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

getName

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