Package com.sun.ts.lib.porting
Interface DeploymentInfo
- All Superinterfaces:
Serializable
Provides all information required to deploy an application on a server. Much of this information is extracted from
runtime xml files. The following information is provided:
- EJB Jar info
- Web Resources - Display name, context root, resource references and ejb references for each web resource in this ear.
- EJB Resources - Name, JNDI name, resource references, ejb references, and CMP information for each ejb resource in this ear.
- Resource References - For each resource reference, the JNDI name, default resource principal name and password, and any mail configuration information is provided.
- EJB References - For each EJB reference, the EJB name and its corresponding JNDI name is provided.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classException thrown if an error occured parsing the XML -
Method Summary
Modifier and TypeMethodDescriptionReturns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.appclient.SunApplicationClient interface.Returns a List of concrete implementations of the com.sun.ts.lib.porting.appclient.SunApplicationClient interface.Returns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.app.SunApplication interface.Returns a List of concrete implementations of the com.sun.ts.lib.porting.app.SunApplication interface.Returns a String that conatains the contents of all the runtime XML files.Returns the ear file to deployReturns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.ejb.SunEjbJar interface.Returns a List of concrete implementations of the com.sun.ts.lib.porting.ejb.SunEjbJar interface.getProperty(String key) Returns the value of the given property.String[]Returns the list of runtime files to be deployedReturns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.web.SunWebApp interface.Returns a List of concrete implementations of the com.sun.ts.lib.porting.web.SunWebApp interface.voidsetPreviousInfos(DeploymentInfo[] infos) Sets/gets an array of deploymentInfo objects from previously deployed apps in the currrent directory along with all common appsvoidsetProperty(String key, String value) Sets the value of the given property.
-
Method Details
-
setProperty
Sets the value of the given property. This method should be temporary, until all important information can be provided by the API. -
getProperty
Returns the value of the given property. This method should be temporary, until all important information can be provided by the API. -
setPreviousInfos
Sets/gets an array of deploymentInfo objects from previously deployed apps in the currrent directory along with all common apps -
getPreviousInfos
DeploymentInfo[] getPreviousInfos() -
getEarFile
String getEarFile()Returns the ear file to deploy -
getRuntimeFiles
String[] getRuntimeFiles()Returns the list of runtime files to be deployed -
getEjbRuntimeData
Map getEjbRuntimeData()Returns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.ejb.SunEjbJar interface. -
getWebRuntimeData
Map getWebRuntimeData()Returns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.web.SunWebApp interface. -
getAppRuntimeData
Map getAppRuntimeData()Returns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.app.SunApplication interface. -
getAppClientRuntimeData
Map getAppClientRuntimeData()Returns a Map that maps runtimne deployment descriptor filename Strings to concrete implementations of the com.sun.ts.lib.porting.appclient.SunApplicationClient interface. -
getAppClientRuntimeDDs
List getAppClientRuntimeDDs()Returns a List of concrete implementations of the com.sun.ts.lib.porting.appclient.SunApplicationClient interface. -
getAppRuntimeDDs
List getAppRuntimeDDs()Returns a List of concrete implementations of the com.sun.ts.lib.porting.app.SunApplication interface. -
getWebRuntimeDDs
List getWebRuntimeDDs()Returns a List of concrete implementations of the com.sun.ts.lib.porting.web.SunWebApp interface. -
getEjbRuntimeDDs
List getEjbRuntimeDDs()Returns a List of concrete implementations of the com.sun.ts.lib.porting.ejb.SunEjbJar interface. -
getContentAsXml
String getContentAsXml()Returns a String that conatains the contents of all the runtime XML files.
-