1 23 24 32 33 package com.sun.enterprise.deployment.phasing; 34 35 import javax.enterprise.deploy.spi.Target ; 36 37 import com.sun.enterprise.config.ConfigContext; 38 import com.sun.enterprise.deployment.backend.DeployableObjectType; 39 40 44 public interface DeploymentTarget extends Target { 45 46 54 public abstract String [] getModules(DeployableObjectType type, Boolean enabled) 55 throws DeploymentTargetException; 56 57 62 public abstract void addAppReference(String appName, boolean enabled, String virtualServers) throws DeploymentTargetException; 63 64 68 public abstract void removeAppReference(String appName) throws DeploymentTargetException; 69 70 76 public abstract boolean sendStartEvent(int eventType, String appName, String moduleType) throws DeploymentTargetException; 77 78 85 public abstract boolean sendStartEvent(int eventType, String appName, 86 String moduleType, boolean isForced) throws DeploymentTargetException; 87 88 public abstract boolean sendStartEvent(int eventType, String appName, 89 String moduleType, boolean isForced, int loadUnloadAction) throws DeploymentTargetException; 90 91 public abstract boolean sendStopEvent(int eventType, String appName, String moduleType, boolean cascade) throws DeploymentTargetException; 92 93 public abstract boolean sendStopEvent(int eventType, String appName, String moduleType, boolean cascade, boolean force) throws DeploymentTargetException; 94 95 public abstract boolean sendStopEvent(int eventType, String appName, String moduleType, boolean cascade, boolean force, int loadUnloadAction) throws DeploymentTargetException; 96 97 public abstract com.sun.enterprise.admin.target.Target getTarget(); 98 99 } 100 | Popular Tags |