|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager org.ow2.jonas.deployment.rar.lib.RarDeploymentDescManager
public class RarDeploymentDescManager
Manage Rar deployment descriptors
Field Summary | |
---|---|
static String |
JONAS_RA_FILE_NAME
Path of the jonas-ra.xml deploymnet descriptor file |
static String |
RA_FILE_NAME
Path of the ra.xml deploymnet descriptor file |
Fields inherited from class org.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager |
---|
LINK_SEPARATOR |
Method Summary | |
---|---|
static RarDeploymentDesc |
getInstance(Context ctx)
Get an instance of an RAR deployment descriptor by parsing the ra.xml and jonas-ra.xml deployment descriptors. |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
static Connector |
loadConnector(Reader reader,
String fileName)
Load the ra.xml file. |
static JonasConnector |
loadJonasConnector(Reader reader,
String fileName)
Load the jonas-ra.xml file. |
static void |
setParsingWithValidation(boolean validation)
Controls whether the parser is reporting all validity errors. |
Methods inherited from class org.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager |
---|
containsResource, findJonasServiceRef, mergeWebServiceRef, xmlContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RA_FILE_NAME
public static final String JONAS_RA_FILE_NAME
Method Detail |
---|
public static RarDeploymentDesc getInstance(Context ctx) throws DeploymentDescException
ctx
- the context which contains the configuration in order to load
the deployment descriptors. There are 6 possible parameters : -
rarFileName is the path of the RAR file (required param). -
classLoader is the classloader (required param) - altDD is the
optional deployment descriptor (optional param).
DeploymentDescException
- if the deployment descriptors are
corrupted.public static Connector loadConnector(Reader reader, String fileName) throws DeploymentDescException
reader
- the Reader of the XML file.fileName
- the name of the file (ra.xml).
DeploymentDescException
- if the deployment descriptor is
corrupted.public static JonasConnector loadJonasConnector(Reader reader, String fileName) throws DeploymentDescException
reader
- the Reader of the XML file.fileName
- the name of the file (jonas-ra.xml).
DeploymentDescException
- if the deployment descriptor is
corrupted.public static boolean getParsingWithValidation()
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 |