Public Member Functions | |
synchronized DeploymentDesc | getDeploymentDesc (URL url, ClassLoader ejbLoader, ClassLoader earLoader) throws DeploymentDescException |
String | getJndiName (URL currentFile, String ejbLink, ClassLoader earCl, String ejbType, DeploymentDesc deploymentDesc, boolean isEjbRef) throws DeploymentDescException |
void | setAvailableEjbJarsAndAltDDs (ClassLoader earClassLoader, URL[] urls, URL[] altDDs) |
void | removeCache (ClassLoader earClassLoader) |
int | getCacheSize () |
String | toString () |
void | addClassLoaderUrlMapping (ClassLoader ejbClassloader, URL[] urls) |
Static Public Member Functions | |
EjbDeploymentDescManager | getInstance () |
DeploymentDesc | getDeploymentDesc (String ejbjar, ClassLoader ejbLoader) throws DeploymentDescException |
DeploymentDesc | getDeploymentDesc (String ejbJarXmlFileName, String jonasEjbJarXmlFileName, String jarFileName) throws DeploymentDescException |
EjbJar | loadEjbJar (Reader reader, String name) throws DeploymentDescException |
JonasEjbJar | loadJonasEjbJar (Reader reader, String name) throws DeploymentDescException |
boolean | getParsingWithValidation () |
void | setParsingWithValidation (boolean validation) |
String | getXmlContent () |
String | getJOnASXmlContent () |
Static Public Attributes | |
final String | EJB_JAR_FILE_NAME = "META-INF/ejb-jar.xml" |
final String | JONAS_EJB_JAR_FILE_NAME = "META-INF/jonas-ejb-jar.xml" |
Protected Member Functions | |
void | checkType (URL ejbJar, String ejbType, JndiEnvRefsGroup bd) throws DeploymentDescException |
void | checkTypeUsage (URL url, String mdType, String mdUsage, BeanDesc bd) throws DeploymentDescException |
Florent Benoit
Nicolas Van Caneghem <nicolas.vancaneghem@openpricer.com> Allow the deployment of an exploded ear Contributors:
JOnAS 4.0 Adriana Danes: keep deployement descriptors is a Stringified format for management support.
Definition at line 92 of file EjbDeploymentDescManager.java.
|
Add a mapping between url and classloader
Definition at line 1278 of file EjbDeploymentDescManager.java. |
|
Check if the type of the ejb-ref is correct.
Definition at line 1218 of file EjbDeploymentDescManager.java. Referenced by org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(). |
|
Check if the type & usage of the message-destination-ref is correct.
Definition at line 1248 of file EjbDeploymentDescManager.java. References org.objectweb.jonas_ejb.deployment.api.MessageDrivenDesc.getDestinationType(). |
Here is the call graph for this function:
|
Get the size of the cache (number of entries in the cache). Used only for debugging.
Definition at line 893 of file EjbDeploymentDescManager.java. |
|
Factory method using deployment descriptor and Jonas deployment descriptor file names. used by GEnIC or GenIDL
Definition at line 920 of file EjbDeploymentDescManager.java. |
|
Get the specified ejb deployment descriptor and put it in the cache if it is not in. Called by createContainer & WebDeploymentDescManager
Definition at line 242 of file EjbDeploymentDescManager.java. References org.objectweb.jonas_ws.deployment.lib.WSDeploymentDescManager.getInstance(). |
Here is the call graph for this function:
|
Factory method using the ejb-jar file name. Used by GenIC/GenIDL/WsGen.
Definition at line 220 of file EjbDeploymentDescManager.java. Referenced by org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(). |
|
Get an instance of the EjbDeploymentDescManager.
Definition at line 204 of file EjbDeploymentDescManager.java. |
|
Return the JNDI name from the ejbLink string. ejbLink format : filename.jar#beanName in the same Ear File beanName in the same ejb-jar file.
Definition at line 485 of file EjbDeploymentDescManager.java. References org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.checkType(), org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.EJB_JAR_FILE_NAME, org.objectweb.jonas_ejb.deployment.api.DeploymentDesc.getBeanDesc(), org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getDeploymentDesc(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getJndiLocalName(), and org.objectweb.jonas_ejb.deployment.api.BeanDesc.getJndiName(). |
Here is the call graph for this function:
|
Return the content of the jonas-web.xml file
Definition at line 1206 of file EjbDeploymentDescManager.java. |
|
Controls whether the parser is reporting all validity errors.
Definition at line 1182 of file EjbDeploymentDescManager.java. |
|
Return the content of the web.xml file
Definition at line 1198 of file EjbDeploymentDescManager.java. |
|
Load the ejb_jar.xml file.
Definition at line 1125 of file EjbDeploymentDescManager.java. References org.objectweb.jonas_lib.deployment.digester.JDigester.parse(). |
Here is the call graph for this function:
|
Load the EjbJar file
Definition at line 1155 of file EjbDeploymentDescManager.java. References org.objectweb.jonas_lib.deployment.digester.JDigester.parse(). |
Here is the call graph for this function:
|
Make a cleanup of the cache of deployment descriptor. This method must be invoked after the ear deployment by the EAR service.
Definition at line 860 of file EjbDeploymentDescManager.java. Referenced by org.objectweb.jonas_web.deployment.lib.WebDeploymentDescManager.removeCache(), and org.objectweb.jonas_client.deployment.lib.ClientDeploymentDescManager.removeCache(). |
|
Set for the given ear identified by its earClassLoader the list of the ejb-jar that can be in the ejb-link and the optional Desployment Desc.
Definition at line 841 of file EjbDeploymentDescManager.java. |
|
Controls whether the parser is reporting all validity errors.
Definition at line 1190 of file EjbDeploymentDescManager.java. |
|
Return a string representation of the cache. (Used only for debugging).
Definition at line 903 of file EjbDeploymentDescManager.java. |
|
ejb-jar.xml filename Definition at line 97 of file EjbDeploymentDescManager.java. Referenced by org.objectweb.jonas_ejb.deployment.lib.EjbDeploymentDescManager.getJndiName(). |
|
jonas-ejb-jar.xml filename Definition at line 102 of file EjbDeploymentDescManager.java. |