FileDocCategorySizeDatePackage
DeploymentTarget.javaAPI DocGlassfish v2 API5117Fri May 04 22:34:38 BST 2007com.sun.enterprise.deployment.phasing

DeploymentTarget

public interface DeploymentTarget implements javax.enterprise.deploy.spi.Target
Abstract class extended by ServerDeploymentTarget, GroupDeploymentTarget
author
Sandhya E

Fields Summary
Constructors Summary
Methods Summary
public abstract voidaddAppReference(java.lang.String appName, boolean enabled, java.lang.String virtualServers)
Adds a reference to this application in server

param
appName name of the application
param
enabled if true application is marked as enabled

public abstract java.lang.String[]getModules(com.sun.enterprise.deployment.backend.DeployableObjectType type, java.lang.Boolean enabled)
Returns the list of modules of specified type and specified status. If enabled = true, all enabled modules of specified type are returned If enabled = false, all disabled modules of type are returned If enabled = null, all modules are returned

param
type module type DeployableObjectType
param
enabled status of module that have to be returned

public abstract com.sun.enterprise.admin.target.TargetgetTarget()

public abstract voidremoveAppReference(java.lang.String appName)
Removes a reference to this app from the target

param
appName name of the application

public abstract booleansendStartEvent(int eventType, java.lang.String appName, java.lang.String moduleType)
sends applicaiton/module start stop events to the target server.

param
eventType
param
appName name of the application/module
param
moduleType ["ejb"/"web"/"connector"]

public abstract booleansendStartEvent(int eventType, java.lang.String appName, java.lang.String moduleType, boolean isForced)
sends applicaiton/module start stop events to the target server.

param
eventType
param
appName name of the application/module
param
moduleType ["ejb"/"web"/"connector"]
param
isForced indicates if the deployment is forced

public abstract booleansendStartEvent(int eventType, java.lang.String appName, java.lang.String moduleType, boolean isForced, int loadUnloadAction)

public abstract booleansendStopEvent(int eventType, java.lang.String appName, java.lang.String moduleType, boolean cascade)

public abstract booleansendStopEvent(int eventType, java.lang.String appName, java.lang.String moduleType, boolean cascade, boolean force)

public abstract booleansendStopEvent(int eventType, java.lang.String appName, java.lang.String moduleType, boolean cascade, boolean force, int loadUnloadAction)