org.jboss.seam.deployment
public class StandardDeploymentStrategy extends DeploymentStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
HANDLERS_KEY
The key under which to list extra deployment handlers.
|
static String |
NAME
The contextual variable name this deployment strategy is made available at
during Seam startup.
|
static String[] |
RESOURCE_NAMES
The files used to identify a Seam archive
|
SCANNERS_KEY| Constructor and Description |
|---|
StandardDeploymentStrategy(ClassLoader classLoader,
javax.servlet.ServletContext servletContext) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<Class<?>>> |
getAnnotatedClasses() |
Set<ClassDescriptor> |
getAnnotatedComponents()
Get all annotated components known to this strategy
|
ClassLoader |
getClassLoader()
Get the classloader to use
|
protected String |
getDeploymentHandlersKey() |
Set<Package> |
getScannedNamespaces()
Get all scanned and handled Seam namespaces
|
javax.servlet.ServletContext |
getServletContext()
Get the ServletContext to use
|
Set<FileDescriptor> |
getXmlComponents()
Get all XML defined (throught components.xml and component.xml) components
|
static StandardDeploymentStrategy |
instance() |
void |
scan()
Do the scan for resources
Should only be called by Seam
|
getDeploymentHandlers, getFiles, getScanner, getTimestamp, initScanner, postScan, setFilespublic static final String[] RESOURCE_NAMES
public static final String NAME
public static final String HANDLERS_KEY
public StandardDeploymentStrategy(ClassLoader classLoader, javax.servlet.ServletContext servletContext)
classLoader - The classloader used to load and handle resourcespublic ClassLoader getClassLoader()
DeploymentStrategygetClassLoader in class DeploymentStrategyprotected String getDeploymentHandlersKey()
getDeploymentHandlersKey in class DeploymentStrategypublic Set<ClassDescriptor> getAnnotatedComponents()
public Set<FileDescriptor> getXmlComponents()
public Set<Package> getScannedNamespaces()
public void scan()
DeploymentStrategyscan in class DeploymentStrategypublic static StandardDeploymentStrategy instance()
public javax.servlet.ServletContext getServletContext()
DeploymentStrategygetServletContext in class DeploymentStrategyCopyright © 2015 Seam Framework. All Rights Reserved.