|
|||||||||
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_rar.deployment.api.RarDeploymentDesc
This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the specific RAR desployment descriptor
Fields inherited from class org.objectweb.jonas_lib.deployment.AbsDeploymentDesc |
displayName |
Method Summary | |
static org.objectweb.jonas_rar.deployment.xml.Connector |
getConnector()
Get the current Connector. |
static org.xml.sax.EntityResolver |
getEntityResolver()
Get the current EntityResolver. |
static org.xml.sax.ErrorHandler |
getErrorHandler()
Get the current ErrorHandler. |
static RarDeploymentDesc |
getInstance(java.lang.String rarFileName,
java.lang.ClassLoader classLoader)
Get an instance of an RAR deployment descriptor by parsing the ra.xml and jonas-ra.xml deployment descriptors. |
static RarDeploymentDesc |
getInstance(java.lang.String rarFileName,
java.lang.ClassLoader classLoader,
boolean setupRa,
boolean setupJonasRa)
Get an instance of an RAR deployment descriptor by parsing the ra.xml and jonas-ra.xml deployment descriptors. |
org.objectweb.jonas_rar.deployment.xml.JonasConfigProperty[] |
getJonasConfigPropTags()
Get the config-property tags of the jonas-ra.xml file. |
static org.objectweb.jonas_rar.deployment.xml.JonasResource |
getJonasResource()
Get the current JonasResource. |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
org.objectweb.jonas_rar.deployment.xml.ConfigProperty[] |
getRaConfigPropTags()
Get the config-property tags of the ra.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. |
void |
setRaConfigPropTags(org.objectweb.jonas_rar.deployment.xml.Connector conn)
Set the config-property tags of the ra.xml file. |
java.lang.String |
toString()
Return a String representation of the RarDeploymentDesc. |
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 void setRaConfigPropTags(org.objectweb.jonas_rar.deployment.xml.Connector conn)
the
- Connector objeect with the config-property tags of the ra.xml file.public org.objectweb.jonas_rar.deployment.xml.ConfigProperty[] getRaConfigPropTags()
public org.objectweb.jonas_rar.deployment.xml.JonasConfigProperty[] getJonasConfigPropTags()
public static RarDeploymentDesc getInstance(java.lang.String rarFileName, java.lang.ClassLoader classLoader) throws RarDeploymentDescException
rarFileName
- the fileName of the rar file for the deployment descriptors.classLoader
- the classloader for the classes.RarDeploymentDescException
- if the deployment descriptors are
corrupted.public static RarDeploymentDesc getInstance(java.lang.String rarFileName, java.lang.ClassLoader classLoader, boolean setupRa, boolean setupJonasRa) throws RarDeploymentDescException
rarFileName
- the fileName of the rar file for the deployment descriptors.classLoader
- the classloader for the classes.setupJonasRa
- a boolean to determine if the ra.xml should be processedsetupJonasRa
- a boolean to determine if the jonas-ra.xml should be processedRarDeploymentDescException
- if the deployment descriptors are
corrupted.public java.lang.String toString()
toString
in class AbsDeploymentDesc
public static org.objectweb.jonas_rar.deployment.xml.Connector getConnector()
public static org.xml.sax.ErrorHandler getErrorHandler()
public static org.xml.sax.EntityResolver getEntityResolver()
public static org.objectweb.jonas_rar.deployment.xml.JonasResource getJonasResource()
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 |