|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_lib.deployment.AbsDeploymentDesc
org.objectweb.jonas_client.deployment.api.ClientContainerDeploymentDesc
This class do the parsing of the application-client.xml file and jonas-client.xml files and contruct a data structure associated to these two files.
Field Summary | |
static java.lang.String |
CLIENT_FILE_NAME
The path to the application-client.xml file. |
static java.lang.String |
JONAS_CLIENT_FILE_NAME
The path to the jonas-client.xml file. |
Fields inherited from class org.objectweb.jonas_lib.deployment.AbsDeploymentDesc |
displayName |
Method Summary | |
java.lang.String |
getCallbackHandler()
Get the callback handler of this client application. |
EjbRefDesc[] |
getEjbRefTags()
Get an array of mapping between an ejb name and its JNDI name. |
static org.xml.sax.EntityResolver |
getEntityResolver()
Get the current EntityResolver. |
EnvEntryDesc[] |
getEnvEntryTags()
Get an array of mapping between an entry name and its value. |
static org.xml.sax.ErrorHandler |
getErrorHandler()
Get the current ErrorHandler. |
static ClientContainerDeploymentDesc |
getInstance(java.lang.String clientFileName,
java.lang.ClassLoader classLoaderForCls)
Get an instance of a Client deployment descriptor by parsing the application-client.xml and jonas-client.xml deployment descriptors. |
static ClientContainerDeploymentDesc |
getInstance(java.lang.String clientFileName,
java.lang.ClassLoader classLoaderForCls,
java.lang.String altClientXmlFilename)
Get an instance of a Client deployment descriptor by parsing the application-client.xml and jonas-client.xml deployment descriptors. |
java.lang.String |
getJaasEntry()
Get the entry in the jaas configuration file |
java.lang.String |
getJaasFile()
Get the name of the jaas configuration file |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
java.lang.String |
getPassword()
Get the password used for a callback handler |
ResourceEnvRefDesc[] |
getResourceEnvRefTags()
Get an array of mapping between a res-env-ref name and its JNDI name. |
ResourceRefDesc[] |
getResourceRefTags()
Get an array of mapping between an res-ref name and its JNDI name. |
java.lang.String |
getUsername()
Get the username used for a callback handler |
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 ClientContainerDeploymentDesc. |
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 |
Field Detail |
public static final java.lang.String CLIENT_FILE_NAME
public static final java.lang.String JONAS_CLIENT_FILE_NAME
Method Detail |
public static ClientContainerDeploymentDesc getInstance(java.lang.String clientFileName, java.lang.ClassLoader classLoaderForCls) throws ClientContainerDeploymentDescException
clientFileName
- the fileName of the client file for the deployment
descriptors.classLoaderForCls
- the classloader for the classes.
ClientContainerDeploymentDescException
- if the deployment
descriptors are corrupted.public static ClientContainerDeploymentDesc getInstance(java.lang.String clientFileName, java.lang.ClassLoader classLoaderForCls, java.lang.String altClientXmlFilename) throws ClientContainerDeploymentDescException
clientFileName
- the fileName of the client file for the deployment
descriptors.classLoaderForCls
- the classloader for the classes.altClientXmlFilename
- the fileName to the application-client.xml for the alt-dd
tag in the Ear Case. This is used for specify an alternate DDesc file.
ClientContainerDeploymentDescException
- if the deployment
descriptors are corrupted.public ResourceEnvRefDesc[] getResourceEnvRefTags()
public ResourceRefDesc[] getResourceRefTags()
public EnvEntryDesc[] getEnvEntryTags()
public EjbRefDesc[] getEjbRefTags()
public java.lang.String getJaasFile()
public java.lang.String getJaasEntry()
public java.lang.String getUsername()
public java.lang.String getPassword()
public java.lang.String getCallbackHandler()
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 |