|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_lib.deployment.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
Fields inherited from class org.objectweb.jonas_lib.deployment.AbsDeploymentDesc |
displayName |
Method Summary | |
org.objectweb.jonas_ear.deployment.xml.AltDd[] |
getAltDDEjbs()
Get the alt-dd of the ejbs of the application.xml file. |
org.objectweb.jonas_ear.deployment.xml.AltDd[] |
getAltDDWebs()
Get the alt-dd of the wars of the application.xml file. |
org.objectweb.jonas_ear.deployment.xml.Ejb[] |
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. |
org.objectweb.jonas_ear.deployment.xml.SecurityRole[] |
getSecurityRoles()
Get the security-role tags |
org.objectweb.jonas_ear.deployment.xml.Web[] |
getWebTags()
Get the web tags of 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.AbsDeploymentDesc |
getDisplayName, getSAXMsg |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public org.objectweb.jonas_ear.deployment.xml.Ejb[] getEjbTags()
public org.objectweb.jonas_ear.deployment.xml.AltDd[] getAltDDEjbs()
public org.objectweb.jonas_ear.deployment.xml.AltDd[] getAltDDWebs()
public org.objectweb.jonas_ear.deployment.xml.SecurityRole[] getSecurityRoles()
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 org.objectweb.jonas_ear.deployment.xml.Web[] getWebTags()
public java.lang.String toString()
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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |