|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.deployment.DeploymentStrategy
org.jboss.seam.deployment.StandardDeploymentStrategy
public class StandardDeploymentStrategy
The standard deployment strategy used with Seam, deploys non-hot-deployable Seam components and namespaces
| Field Summary | |
|---|---|
static java.lang.String |
HANDLERS_KEY
The key under which to list extra deployment handlers. |
static java.lang.String |
NAME
The contextual variable name this deployment strategy is made available at during Seam startup. |
static java.lang.String[] |
RESOURCE_NAMES
The files used to identify a Seam archive |
| Fields inherited from class org.jboss.seam.deployment.DeploymentStrategy |
|---|
SCANNERS_KEY |
| Constructor Summary | |
|---|---|
StandardDeploymentStrategy(java.lang.ClassLoader classLoader,
javax.servlet.ServletContext servletContext)
|
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.util.Set<java.lang.Class<?>>> |
getAnnotatedClasses()
|
java.util.Set<ClassDescriptor> |
getAnnotatedComponents()
Get all annotated components known to this strategy |
java.lang.ClassLoader |
getClassLoader()
Get the classloader to use |
protected java.lang.String |
getDeploymentHandlersKey()
|
java.util.Set<java.lang.Package> |
getScannedNamespaces()
Get all scanned and handled Seam namespaces |
javax.servlet.ServletContext |
getServletContext()
Get the ServletContext to use |
java.util.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 |
| Methods inherited from class org.jboss.seam.deployment.DeploymentStrategy |
|---|
getDeploymentHandlers, getFiles, getScanner, getTimestamp, initScanner, postScan, setFiles |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] RESOURCE_NAMES
public static final java.lang.String NAME
public static final java.lang.String HANDLERS_KEY
| Constructor Detail |
|---|
public StandardDeploymentStrategy(java.lang.ClassLoader classLoader,
javax.servlet.ServletContext servletContext)
classLoader - The classloader used to load and handle resources| Method Detail |
|---|
public java.lang.ClassLoader getClassLoader()
DeploymentStrategy
getClassLoader in class DeploymentStrategyprotected java.lang.String getDeploymentHandlersKey()
getDeploymentHandlersKey in class DeploymentStrategypublic java.util.Set<ClassDescriptor> getAnnotatedComponents()
public java.util.Set<FileDescriptor> getXmlComponents()
public java.util.Set<java.lang.Package> getScannedNamespaces()
public java.util.Map<java.lang.String,java.util.Set<java.lang.Class<?>>> getAnnotatedClasses()
public void scan()
DeploymentStrategy
scan in class DeploymentStrategypublic static StandardDeploymentStrategy instance()
public javax.servlet.ServletContext getServletContext()
DeploymentStrategy
getServletContext in class DeploymentStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||