|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc
org.objectweb.jonas_ear.deployment.api.EarDeploymentDesc
This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the specific EAR desployment descriptor
Field Summary |
Fields inherited from class org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc |
displayName |
Method Summary | |
java.lang.String[] |
getAltDDClients()
Get the alt-dd of the clients of the application.xml file. |
java.lang.String[] |
getAltDDConnectors()
Get the alt-dd of the connectors of the application.xml file. |
java.lang.String[] |
getAltDDEjbs()
Get the alt-dd of the ejbs of the application.xml file. |
java.lang.String[] |
getAltDDWebs()
Get the alt-dd of the wars of the application.xml file. |
java.lang.String[] |
getClientTags()
Get the client tags of the application.xml file. |
java.lang.String[] |
getConnectorTags()
Get the connector tags of the application.xml file. |
java.lang.String[] |
getEjbTags()
Get the ejb tags of the application.xml file. |
static org.xml.sax.EntityResolver |
getEntityResolver()
Get the current EntityResolver. |
static org.xml.sax.ErrorHandler |
getErrorHandler()
Get the current ErrorHandler. |
static EarDeploymentDesc |
getInstance(java.lang.String earFileName,
java.lang.ClassLoader classLoaderForCls)
Get an instance of an EAR deployment descriptor by parsing the application.xml deployment descriptor. |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
java.lang.String[] |
getSecurityRolesNames()
Get the security-role names tags |
Web[] |
getWebTags()
Get the web tags of the application.xml file. |
java.lang.String |
getXmlContent()
Get the content of the xml file |
static Application |
loadApplication(java.io.Reader reader,
java.lang.String fileName)
Load the application.xml file. |
static void |
setEntityResolver(org.xml.sax.EntityResolver entityResolver)
Set the specified EntityResolver. |
static void |
setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
Set the specified ErrorHandler. |
static void |
setParsingWithValidation(boolean validation)
Controls whether the parser is reporting all validity errors. |
java.lang.String |
toString()
Return a String representation of the EarDeploymentDesc. |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.AbsDeploymentDesc |
getDisplayName, getSAXMsg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String[] getEjbTags()
public java.lang.String[] getAltDDEjbs()
public java.lang.String[] getClientTags()
public java.lang.String[] getAltDDClients()
public Web[] getWebTags()
public java.lang.String[] getAltDDWebs()
public java.lang.String[] getConnectorTags()
public java.lang.String[] getAltDDConnectors()
public java.lang.String[] getSecurityRolesNames()
public java.lang.String getXmlContent()
public static EarDeploymentDesc getInstance(java.lang.String earFileName, java.lang.ClassLoader classLoaderForCls) throws EarDeploymentDescException
earFileName
- the fileName of the war file for the deployment descriptors.classLoaderForCls
- the classloader for the classes.
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public static Application loadApplication(java.io.Reader reader, java.lang.String fileName) throws EarDeploymentDescException
fileName
- the name of the file (application.xml).
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public java.lang.String toString()
toString
in interface DeploymentDesc
toString
in class AbsDeploymentDesc
public static org.xml.sax.ErrorHandler getErrorHandler()
public static org.xml.sax.EntityResolver getEntityResolver()
public static boolean getParsingWithValidation()
public static void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
errorHandler
- the Error Handler to set.public static void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
entityResolver
- the Entity Resolver to set.public static void setParsingWithValidation(boolean validation)
validation
- if true, all external entities will be read.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |