|
Seam Core JSF2 2.3.1.Final | |||||||||
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 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 |
Fields inherited from class org.jboss.seam.deployment.DeploymentStrategy |
---|
SCANNERS_KEY |
Constructor Summary | |
---|---|
StandardDeploymentStrategy(ClassLoader classLoader,
javax.servlet.ServletContext servletContext)
|
Method Summary | |
---|---|
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 |
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 String[] RESOURCE_NAMES
public static final String NAME
public static final String HANDLERS_KEY
Constructor Detail |
---|
public StandardDeploymentStrategy(ClassLoader classLoader, javax.servlet.ServletContext servletContext)
classLoader
- The classloader used to load and handle resourcesMethod Detail |
---|
public ClassLoader getClassLoader()
DeploymentStrategy
getClassLoader
in class DeploymentStrategy
protected String getDeploymentHandlersKey()
getDeploymentHandlersKey
in class DeploymentStrategy
public Set<ClassDescriptor> getAnnotatedComponents()
public Set<FileDescriptor> getXmlComponents()
public Set<Package> getScannedNamespaces()
public Map<String,Set<Class<?>>> getAnnotatedClasses()
public void scan()
DeploymentStrategy
scan
in class DeploymentStrategy
public static StandardDeploymentStrategy instance()
public javax.servlet.ServletContext getServletContext()
DeploymentStrategy
getServletContext
in class DeploymentStrategy
|
Seam Core JSF2 2.3.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |