|
||||||||||
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.HotDeploymentStrategy
public class HotDeploymentStrategy
A deployment strategy for hot deployable Java Seam components
Field Summary | |
---|---|
static String |
HOT_DEPLOYMENT_DIRECTORY_PATH
The default path at which hot deployable Seam components are placed |
Constructor Summary | |
---|---|
HotDeploymentStrategy(ClassLoader classLoader,
File hotDeployDirectory)
|
Method Summary | |
---|---|
static HotDeploymentStrategy |
createInstance(String className,
ClassLoader classLoader,
File hotDeployDirectory)
Dynamically instantiate a HotDeploymentStrategy
Needed to prevent dependency on optional librarires |
ClassLoader |
getClassLoader()
Get the classloader to use |
File[] |
getHotDeploymentPaths()
Get all hot deployable paths |
Set<Class<Object>> |
getScannedComponentClasses()
Get all Components which the strategy has scanned and handled |
boolean |
isFromHotDeployClassLoader(Class componentClass)
Return true if the component is from a hot deployment classloader |
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 |
---|
public static final String HOT_DEPLOYMENT_DIRECTORY_PATH
Constructor Detail |
---|
public HotDeploymentStrategy(ClassLoader classLoader, File hotDeployDirectory)
classLoader
- The parent classloader of the hot deployment classloaderhotDeployDirectory
- The directory in which hot deployable Seam
components are placedMethod Detail |
---|
public File[] getHotDeploymentPaths()
public boolean isFromHotDeployClassLoader(Class componentClass)
public static HotDeploymentStrategy createInstance(String className, ClassLoader classLoader, File hotDeployDirectory)
HotDeploymentStrategy
Needed to prevent dependency on optional librarires
className
- The strategy to useclassLoader
- The classloader to use with this strategyhotDeployDirectory
- The directory which contains hot deployable
Seam componentspublic ClassLoader getClassLoader()
DeploymentStrategy
getClassLoader
in class DeploymentStrategy
public Set<Class<Object>> getScannedComponentClasses()
public void scan()
DeploymentStrategy
scan
in class DeploymentStrategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |