|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_client.deployment.lib.ClientDeploymentDescManager
This class provide a way for managing the ClientContainerDeploymentDesc.
Method Summary | |
int |
getCacheSize()
Get the size of the cache (number of entries in the cache). |
ClientContainerDeploymentDesc |
getDeploymentDesc(java.net.URL url,
java.lang.ClassLoader loaderForCls,
java.lang.ClassLoader earLoader)
Get the specified web deployment descriptor. |
static ClientDeploymentDescManager |
getInstance()
Get an instance of the ClientDeploymentDescManager. |
void |
removeCache(java.lang.ClassLoader earClassLoader)
Make a cleanup of the cache of deployment descriptor. |
void |
setAltDD(java.lang.ClassLoader earClassLoader,
java.net.URL[] urls,
java.net.URL[] altDDs)
Set the alt deployment desc which are used instead of the web.xml file which is in the war file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ClientDeploymentDescManager getInstance()
public ClientContainerDeploymentDesc getDeploymentDesc(java.net.URL url, java.lang.ClassLoader loaderForCls, java.lang.ClassLoader earLoader) throws ClientContainerDeploymentDescException
url
- the url where to load xml deployment descriptors.loaderForCls
- classloader used to load web classes.earLoader
- the ear classloader.
ClientContainerDeploymentDescException
- when
ClientContainerDeploymentDesc cannot be created with the given files.public void removeCache(java.lang.ClassLoader earClassLoader)
earClassLoader
- the ClassLoader of the ear application to
remove from the cache.public void setAltDD(java.lang.ClassLoader earClassLoader, java.net.URL[] urls, java.net.URL[] altDDs)
earClassLoader
- the ear classloader which is used for mapped
the URLs of the wars to the Alt dd.urls
- the urls of the warsaltDDs
- the alt-dd name for the specified war URLspublic int getCacheSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |