|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.deployment.lib.WSDeploymentDescManager
This class provide a way for managing the WSDeploymentDesc. Note that there is 1 instance of the WSDeploymentDescManager on each JOnAS server.
Field Summary | |
static java.lang.String |
JONAS_WS_EJB_JAR
META-INF/jonas-webservices.xml |
static java.lang.String |
JONAS_WS_WAR
WEB-INF/jonas-webservices.xml |
static java.lang.String |
WS_EJB_JAR_FILE_NAME
META-INF/webservices.xml |
static java.lang.String |
WS_WAR_FILE_NAME
WEB-INF/webservices.xml |
Method Summary | |
void |
clearCache()
Clear the cache. |
int |
getCacheSize()
Get the size of the cache (number of entries in the cache). |
static WSDeploymentDesc |
getDeploymentDesc(java.lang.String file,
java.lang.ClassLoader jarCL)
Get the specified WebService deployment descriptor. |
WSDeploymentDesc |
getDeploymentDesc(java.net.URL url,
java.lang.ClassLoader jarCL,
java.lang.ClassLoader earCL)
Get the specified ws deployment descriptor and put it in the cache if it is not in. |
static WSDeploymentDescManager |
getInstance()
Get the unique instance of the WSDeploymentDescManager. |
static boolean |
getParsingWithValidation()
DOCUMENT ME! |
static void |
setParsingWithValidation(boolean v)
DOCUMENT ME! |
java.lang.String |
toString()
Return a string representation of the cache. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String WS_EJB_JAR_FILE_NAME
public static final java.lang.String WS_WAR_FILE_NAME
public static final java.lang.String JONAS_WS_EJB_JAR
public static final java.lang.String JONAS_WS_WAR
Method Detail |
public static WSDeploymentDescManager getInstance()
public static WSDeploymentDesc getDeploymentDesc(java.lang.String file, java.lang.ClassLoader jarCL) throws WSDeploymentDescException
file
- module (ejbjar or war). It is required that file is not a
directory.jarCL
- the classloader where classes are stored.
WSDeploymentDescException
- when WSDeploymentDesc cannot be
created with the given files.public WSDeploymentDesc getDeploymentDesc(java.net.URL url, java.lang.ClassLoader jarCL, java.lang.ClassLoader earCL) throws WSDeploymentDescException
url
- module (ejbjar or war). It can be a directory or a jar file.jarCL
- classloader used to load bean classes.earCL
- the parent classloader (the ear classloader). Null when not
in the case of an ear application.
WSDeploymentDescException
- when WSDeploymentDesc cannot be
created with the given files.public int getCacheSize()
public void clearCache()
public java.lang.String toString()
public static void setParsingWithValidation(boolean v)
v
- DOCUMENT ME!public static boolean getParsingWithValidation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |