org.jboss.seam.deployment
public abstract class DeploymentStrategy extends Object
DeploymentStrategy
coordinates the deployment of resources for a Seam
application.Modifier and Type | Field and Description |
---|---|
static String |
SCANNERS_KEY
The key under which to list possible scanners.
|
Constructor and Description |
---|
DeploymentStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract ClassLoader |
getClassLoader()
Get the classloader to use
|
Map<String,DeploymentHandler> |
getDeploymentHandlers()
Get (or modify) any registered
DeploymentHandler s
Implementations of DeploymentStrategy may add default
DeploymentHandler s |
protected abstract String |
getDeploymentHandlersKey() |
List<File> |
getFiles() |
protected Scanner |
getScanner()
Get the scanner being used
|
abstract javax.servlet.ServletContext |
getServletContext()
Get the ServletContext to use
|
long |
getTimestamp() |
protected void |
initScanner() |
protected void |
postScan() |
abstract void |
scan()
Do the scan for resources
Should only be called by Seam
|
void |
setFiles(List<File> files) |
public static final String SCANNERS_KEY
public abstract void scan()
protected Scanner getScanner()
public abstract ClassLoader getClassLoader()
public abstract javax.servlet.ServletContext getServletContext()
public Map<String,DeploymentHandler> getDeploymentHandlers()
DeploymentHandler
s
Implementations of DeploymentStrategy
may add default
DeploymentHandler
sprotected abstract String getDeploymentHandlersKey()
protected void initScanner()
public long getTimestamp()
protected void postScan()
Copyright © 2015 Seam Framework. All Rights Reserved.