ApplicationDeployEventpublic class ApplicationDeployEvent extends com.sun.enterprise.admin.event.BaseDeployEvent Application deployment event. This event is generated whenever a J2EE
application is deployed, undeployed or redeployed. |
Fields Summary |
---|
static final String | eventTypeEvent type | private boolean | forceDeployIndicates whether this ApplicationDeployEvent is forced | private int | loadUnloadActionIndicates whether what load action this ApplicationDeployEvent is for |
Constructors Summary |
---|
public ApplicationDeployEvent(String instance, String appName, String actionCode)Create a new ApplicationDeployEvent for the specified instance,
application and action code.
super(eventType, instance, BaseDeployEvent.APPLICATION, appName,
actionCode);
| public ApplicationDeployEvent(String instance, String appName, String actionCode, boolean cascade)Creates a new ApplicationDeployEvent for the specified instance,
application, action code and cascade values
super(eventType, instance, BaseDeployEvent.APPLICATION, appName,
actionCode, cascade);
| public ApplicationDeployEvent(String instance, String appName, String actionCode, boolean cascade, boolean forceDeploy)Creates a new ApplicationDeployEvent for the specified instance,
application, cascade and forceDeploy values
super(eventType, instance, BaseDeployEvent.APPLICATION, appName,
actionCode, cascade);
//set ForceDeploy locally
setForceDeploy(forceDeploy);
| public ApplicationDeployEvent(String instance, String appName, String actionCode, boolean cascade, boolean forceDeploy, int loadUnloadAction)Creates a new ApplicationDeployEvent for the specified instance,
application, cascade and forceDeploy, loadUnloadAction values
super(eventType, instance, BaseDeployEvent.APPLICATION, appName,
actionCode, cascade);
//set loadUnloadAction locally
setForceDeploy(forceDeploy);
setLoadUnloadAction(loadUnloadAction);
|
Methods Summary |
---|
public java.lang.String | getApplicationName()Get name of the application that was affected by deployment action.
return getJ2EEComponentName();
| public boolean | getForceDeploy()
return this.forceDeploy;
| public int | getLoadUnloadAction()
return this.loadUnloadAction;
| public void | setForceDeploy(boolean forceDeploy)
this.forceDeploy = forceDeploy;
| public void | setLoadUnloadAction(int loadUnloadAction)
this.loadUnloadAction = loadUnloadAction;
| public java.lang.String | toString()
return "ApplicationDeployEvent -- " + this.getAction() + " " + this.getApplicationName();
|
|