|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This object is used to get the list of applications that are installed in the Process Manager cluster. It can also be used to remove an application from the cluster. The following indicates how the deployment manager can be obtained from the cluster.
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMClusterManager.JNDI_ROOT; IPMClusterManagerHome home = (IPMClusterManagerHome) cxt.lookup( jndiName ); IPMClusterManager clManager = home.create(); IPMCluster pmc = clManager.getCluster ( IPMCluster.DEFAULT ) ; IDeploymentManager dm = pmc.getDeploymentManager(); // call deployment manager methods here...
IPMClusterManager
,
IPMCluster
Method Summary | |
java.lang.String |
getApplicationUnzipPath(java.lang.String appName)
Gets the directory where this particular application has been unzipped. |
IDeploymentDescriptor |
getDeploymentDescriptor(java.lang.String appName)
Gets the deployment descriptor for a particular application. |
java.util.Hashtable |
getInstalledApplications()
Returns a Hashtable of IDeploymentDescriptors. |
java.util.Vector |
getVectorOfInstalledApplications()
Returns a Vector of IDeploymentDescriptors. |
void |
removeApplication(java.lang.String appName,
boolean bDropTable)
Removes the application from the cluster. |
Method Detail |
public java.util.Hashtable getInstalledApplications() throws XDeploymentManager
An
- application level exception.com.netscape.pm.model.IDeploymentDescriptor
,
PMException
public java.util.Vector getVectorOfInstalledApplications() throws XDeploymentManager
An
- application level exception.com.netscape.pm.model.IDeploymentDescriptor
,
PMException
public IDeploymentDescriptor getDeploymentDescriptor(java.lang.String appName) throws XDeploymentManager
appName
- This is the application name whose deployment descriptor is being looked up.An
- application level exception.com.netscape.pm.model.IDeploymentDescriptor
,
PMException
public void removeApplication(java.lang.String appName, boolean bDropTable) throws XDeploymentManager
appName
- This is the name of the application that is being removed from the cluster.bDropTable
- If this is false, then the application table and view are not deleted from the database. If
is true, then the application table and view are deleted from the database.An
- application level exception.com.netscape.pm.model.IDeploymentDescriptor
,
PMException
public java.lang.String getApplicationUnzipPath(java.lang.String appName)
appName
- The name of the application.com.netscape.pm.model.IDeploymentDescriptor
,
PMException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |