FileDocCategorySizeDatePackage
J2EEModuleCallBackImpl.javaAPI DocGlassfish v2 API4375Fri May 04 22:24:36 BST 2007com.sun.enterprise.management.util

J2EEModuleCallBackImpl

public class J2EEModuleCallBackImpl extends Object implements com.sun.enterprise.management.util.J2EEModuleCallBack
author
prakash
version

Fields Summary
private String
name
private String
parentName
private String
deploymentDescriptor
private String
serverName
private J2EEManagementObjectManager
mgmtObjectManager
private StartStopCallback
sscb
Constructors Summary
public J2EEModuleCallBackImpl(String nm, String pName, String dd, J2EEManagementObjectManager mgmtObjectManager)

        this.name = nm;
        this.parentName = pName;
        this.deploymentDescriptor = dd;
	this.mgmtObjectManager = mgmtObjectManager;
    
public J2EEModuleCallBackImpl(String nm, String pName, String serverName, String dd, J2EEManagementObjectManager mgmtObjectManager)

        this.name = nm;
        this.parentName = pName;
        this.deploymentDescriptor = dd;
        this.serverName = serverName;
        this.mgmtObjectManager = mgmtObjectManager;
    
public J2EEModuleCallBackImpl(String nm, String pName, String serverName, String dd, StartStopCallback sscb)

        this.name = nm;
        this.parentName = pName;
        this.deploymentDescriptor = dd;
        this.serverName = serverName;
        this.sscb = sscb;
    
Methods Summary
public java.lang.StringgetDeploymentDescriptor()

        return this.deploymentDescriptor;
    
public java.lang.StringgetName()

        return this.name;
    
public java.lang.StringgetParentName()

        return this.parentName;
    
public java.lang.StringgetServerName()

        return this.serverName;
    
public voidstart(java.lang.Object module)

        try {
            sscb.startModule((J2EEDeployedObjectMdl)module);
        } catch (Exception ex) {
            throw new RuntimeException(ex);
        }
    
public voidstop(java.lang.Object module)

        try {
            sscb.stopModule((J2EEDeployedObjectMdl)module);
        } catch (Exception ex) {
            throw new RuntimeException(ex);
        }