|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.DescriptionGroupDesc org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc org.ow2.jonas.deployment.client.ClientContainerDeploymentDesc
public class 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 |
---|
Fields inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
logger |
Fields inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
Constructor Summary | |
---|---|
ClientContainerDeploymentDesc(ClassLoader classLoader,
ApplicationClient applicationClient,
JonasClient jonasClient)
Construct an instance of a ClientContainerDeploymentDesc. Constructor is private, call one of the static getInstance method instead. |
Method Summary | |
---|---|
String |
getCallbackHandler()
Get the callback handler of this client application. |
org.ow2.util.ee.metadata.car.api.ICarDeployableMetadata |
getCarDeployableMetadata()
|
String |
getJaasEntry()
Get the entry in the jaas configuration file |
String |
getJaasFile()
Get the name of the jaas configuration file |
String |
getJOnASXmlContent()
Return the content of the jonas-web.xml file |
String |
getPassword()
Get the password used for a callback handler |
String |
getUsername()
Get the username used for a callback handler |
String |
getXmlContent()
Return the content of the web.xml file |
void |
setCarMetadata(org.ow2.util.ee.metadata.car.api.ICarDeployableMetadata carDeployableMetadata)
Store a reference to this application-client metadatas |
void |
setJOnASXmlContent(String jonasXmlContent)
|
void |
setXmlContent(String xmlContent)
|
String |
toString()
Return a String representation of the ClientContainerDeploymentDesc. |
Methods inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getENCBindingHolder, getEnvEntryDesc, getMessageDestinationRefDesc, getPersistenceUnitRefs, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc, setENCBindingHolder |
Methods inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
getDescription, getDisplayName, getLargeIcon, getSAXMsg, getSmallIcon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientContainerDeploymentDesc(ClassLoader classLoader, ApplicationClient applicationClient, JonasClient jonasClient) throws DeploymentDescException
classLoader
- the classloader for the classes.applicationClient
- the data structure of the application-client (application-client.xml)jonasClient
- the data structure of the jonas-client (jonas-client.xml)
DeploymentDescException
- if the deployment
descriptors are corrupted.Method Detail |
---|
public String getJaasFile()
public String getJaasEntry()
public String getUsername()
public String getPassword()
public String getCallbackHandler()
public String getXmlContent()
public String getJOnASXmlContent()
public void setXmlContent(String xmlContent)
xmlContent
- XML Contentpublic void setJOnASXmlContent(String jonasXmlContent)
jonasXmlContent
- XML Contentpublic String toString()
toString
in interface IDescriptionGroupDesc
toString
in class DescriptionGroupDesc
public void setCarMetadata(org.ow2.util.ee.metadata.car.api.ICarDeployableMetadata carDeployableMetadata)
carDeployableMetadata
- application-client metadataspublic org.ow2.util.ee.metadata.car.api.ICarDeployableMetadata getCarDeployableMetadata()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |