|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.web.wrapper.WebManagerWrapper
public class WebManagerWrapper
Wrap the WebDeploymentDescManager to solve ClassLoader problems linked to Digester.
Method Summary | |
---|---|
static WebContainerDeploymentDesc |
getDeploymentDesc(String warName,
ClassLoader cl)
Wrap the WebDeploymentDescManager.getDeploymentDesc() call. |
static WebContainerDeploymentDesc |
getDeploymentDesc(URL url,
ClassLoader moduleCL,
ClassLoader earCL)
Wrap the WebDeploymentDescManager.getInstance().getDeploymentDesc() call. |
static void |
removeCache(ClassLoader classLoader)
Wrap the WebDeploymentDescManager.getInstance().removeCache() call. |
static void |
setAltDD(URLClassLoader earClassLoader,
URL[] warUrls,
URL[] warsAltDDs)
Wrap the WebDeploymentDescManager.getInstance().setAltDD() call. |
static void |
setParsingWithValidation(boolean b)
Wrap the WebDeploymentDescManager.setParsingWithValidation() call. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WebContainerDeploymentDesc getDeploymentDesc(URL url, ClassLoader moduleCL, ClassLoader earCL) throws WebContainerDeploymentDescException
url
- WebApp URLmoduleCL
- WebApp module ClassLoaderearCL
- Application ClassLoader
WebContainerDeploymentDescException
- When WebContainerDeploymentDesc cannot be instanciatedpublic static void setAltDD(URLClassLoader earClassLoader, URL[] warUrls, URL[] warsAltDDs)
earClassLoader
- Application ClassLoaderwarUrls
- Array of WebApp URLswarsAltDDs
- Array of Alternatives WebApp Descriptor URLpublic static void setParsingWithValidation(boolean b)
b
- true/falsepublic static void removeCache(ClassLoader classLoader)
classLoader
- WebApp ClassLoaderpublic static WebContainerDeploymentDesc getDeploymentDesc(String warName, ClassLoader cl) throws WebContainerDeploymentDescException
warName
- war filenamecl
- WebApp ClassLoader
WebContainerDeploymentDescException
- When WebContainerDeploymentDesc cannot be instanciated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |