org.jboss.seam.deployment
Class StandardDeploymentStrategy

java.lang.Object
  extended by org.jboss.seam.deployment.DeploymentStrategy
      extended by org.jboss.seam.deployment.StandardDeploymentStrategy

public class StandardDeploymentStrategy
extends DeploymentStrategy

The standard deployment strategy used with Seam, deploys non-hot-deployable Seam components and namespaces

Author:
Pete Muir

Field Summary
static String[] RESOURCE_NAMES
           
 
Constructor Summary
StandardDeploymentStrategy(ClassLoader classLoader)
           
 
Method Summary
 ClassLoader getClassLoader()
          Get the classloader to use
 Set<Class<Object>> getScannedComponentClasses()
          Get all scanned and handled annotated components known to this strategy
 Set<String> getScannedComponentResources()
          Get all scanned and handled components.xml files
 Set<Package> getScannedNamespaces()
          Get all scanned and handled Seam namespaces
 void scan()
          Do the scan for resources
 
Methods inherited from class org.jboss.seam.deployment.DeploymentStrategy
getDeploymentHandlers, getScanner, handle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE_NAMES

public static final String[] RESOURCE_NAMES
Constructor Detail

StandardDeploymentStrategy

public StandardDeploymentStrategy(ClassLoader classLoader)
Parameters:
classLoader - The classloader used to load and handle resources
Method Detail

getClassLoader

public ClassLoader getClassLoader()
Description copied from class: DeploymentStrategy
Get the classloader to use

Specified by:
getClassLoader in class DeploymentStrategy

getScannedComponentClasses

public Set<Class<Object>> getScannedComponentClasses()
Get all scanned and handled annotated components known to this strategy


getScannedComponentResources

public Set<String> getScannedComponentResources()
Get all scanned and handled components.xml files


getScannedNamespaces

public Set<Package> getScannedNamespaces()
Get all scanned and handled Seam namespaces


scan

public void scan()
Description copied from class: DeploymentStrategy
Do the scan for resources

Specified by:
scan in class DeploymentStrategy