Searched refs:StateType (Results 1 - 18 of 18) sorted by relevance

/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/shared/
H A DStateType.java49 public class StateType class
56 public static final StateType RUNNING = new StateType(0);
60 public static final StateType COMPLETED = new StateType(1);
64 public static final StateType FAILED = new StateType(2);
68 public static final StateType RELEASED = new StateType(3);
78 private static final StateType[] enumValueTabl
90 protected StateType(int value) method in class:StateType
[all...]
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DInstanceState.java56 public enum StateType { enum in class:InstanceState
120 public static StateType makeStateType(String s) {
121 for (StateType st : StateType.values()) {
128 private StateType currentState;
131 public InstanceState(StateType st) {
136 public StateType getState() {
140 public void setState(StateType state) {
149 if (currentState == StateType.NEVER_STARTED) {
/glassfish-3.1.2/deployment/javax.enterprise.deploy/src/main/java/javax/enterprise/deploy/spi/status/
H A DDeploymentStatus.java43 import javax.enterprise.deploy.shared.StateType;
54 * Retrieve the StateType value.
56 * @return the StateType object
58 public StateType getState();
/glassfish-3.1.2/deployment/client/src/main/java/org/glassfish/deployapi/
H A DDeploymentStatusImpl.java45 import javax.enterprise.deploy.shared.StateType;
55 StateType stateType = null;
96 /** Retrieve the StateType value.
98 * @return the StateType object
100 public StateType getState() {
110 return StateType.COMPLETED.equals(stateType);
119 return StateType.FAILED.equals(stateType);
128 return StateType.RUNNING.equals(stateType);
131 public void setState(StateType stateType) {
H A DDeploymentStatusImplWithError.java52 import javax.enterprise.deploy.shared.StateType;
73 setState(StateType.FAILED);
H A DProgressObjectImpl.java57 import javax.enterprise.deploy.shared.StateType;
107 deploymentStatus.setState(StateType.RELEASED);
116 deploymentStatus.setState(StateType.RELEASED);
438 protected void fireProgressEvent(StateType state, String message) {
445 protected void fireProgressEvent(StateType state, String message, TargetImpl aTarget) {
447 StateType stateToBroadcast = (state != null) ? state : deploymentStatus.getState();
551 fireProgressEvent(StateType.COMPLETED, i18nmsg, aTarget);
556 fireProgressEvent(StateType.COMPLETED, message, tmid.getTargetImpl());
570 fireProgressEvent(StateType.FAILED, i18nmsg, aTarget);
581 fireProgressEvent(StateType
[all...]
H A DProgressObjectSink.java51 import javax.enterprise.deploy.shared.StateType;
81 private StateType finalStateType = StateType.COMPLETED;
121 finalStateType = StateType.FAILED;
158 forwardedStatus.setState(StateType.RUNNING);
184 if (finalStateType.equals(StateType.FAILED)) {
258 status.setState(StateType.RUNNING);
H A DSimpleProgressObjectImpl.java57 import javax.enterprise.deploy.shared.StateType;
H A DSunDeploymentManager.java93 import javax.enterprise.deploy.shared.StateType;
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceStateService.java118 instanceStates.put(instanceName, new InstanceState(InstanceState.StateType.NEVER_STARTED));
134 if (i != null && i.getState() != InstanceState.StateType.NEVER_STARTED &&
157 public InstanceState.StateType getState(String instanceName) {
161 return InstanceState.StateType.NEVER_STARTED;
173 public synchronized InstanceState.StateType setState(String name, InstanceState.StateType newState, boolean force) {
176 InstanceState.StateType ret = newState;
178 InstanceState.StateType currState;
183 } else if (!force && currState == InstanceState.StateType.RESTART_REQUIRED) {
188 } else if (!force && currState == InstanceState.StateType
[all...]
H A DInstanceStateFileProcessor.java99 InstanceState.StateType.NO_RESPONSE.getDescription()+"\" />");
110 String newState = InstanceState.StateType.NEVER_STARTED.getDescription();
143 newInstanceState = new InstanceState(InstanceState.StateType.NO_RESPONSE);
145 newInstanceState = new InstanceState(InstanceState.StateType.makeStateType(state));
206 instance = addInstanceNode(instanceName, InstanceState.StateType.NO_RESPONSE.getDescription());
H A DClusterOperationUtil.java131 if (instanceState.getState(svr.getName()) == InstanceState.StateType.NEVER_STARTED) {
144 instanceState.setState(svr.getName(), InstanceState.StateType.RESTART_REQUIRED, false);
214 instanceState.setState(s, InstanceState.StateType.RESTART_REQUIRED, false);
232 instanceState.setState(s, InstanceState.StateType.RESTART_REQUIRED, false);
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DListClustersCommand.java164 InstanceState.StateType state = (ii.isRunning()) ?
165 (stateService.setState(ii.getName(), InstanceState.StateType.RUNNING, false)) :
166 (stateService.setState(ii.getName(), InstanceState.StateType.NO_RESPONSE, false));
177 display = InstanceState.StateType.NOT_RUNNING.getDisplayString();
178 value = InstanceState.StateType.NOT_RUNNING.getDescription();
181 display = InstanceState.StateType.RUNNING.getDisplayString();
182 value = InstanceState.StateType.RUNNING.getDescription();
H A DListInstancesCommand.java238 String value = (ii.isRunning()) ? InstanceState.StateType.RUNNING.getDescription()
239 : InstanceState.StateType.NOT_RUNNING.getDescription();
240 InstanceState.StateType state = (ii.isRunning())
241 ? (stateService.setState(name, InstanceState.StateType.RUNNING, false))
242 : (stateService.setState(name, InstanceState.StateType.NOT_RUNNING, false));
244 if (state == InstanceState.StateType.RESTART_REQUIRED) {
246 //value += (";" + InstanceState.StateType.RESTART_REQUIRED.getDescription());
247 value = InstanceState.StateType.RESTART_REQUIRED.getDescription();
254 if (state == InstanceState.StateType.RESTART_REQUIRED) {
H A DGlassFishClusterExecutor.java160 instanceState.setState(s.getName(), InstanceState.StateType.RESTART_REQUIRED, false);
178 instanceState.setState(s.getName(), InstanceState.StateType.RESTART_REQUIRED, false);
H A DSynchronizeFiles.java147 stateService.setState(server.getName(), InstanceState.StateType.NO_RESPONSE, true);
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/
H A DInstanceInfo.java148 InstanceState.StateType.RUNNING.getDisplayString() :
149 InstanceState.StateType.NOT_RUNNING.getDisplayString());
151 if (ssState == InstanceState.StateType.RESTART_REQUIRED) {
153 display.append("; ").append(InstanceState.StateType.RESTART_REQUIRED.getDisplayString());
193 ssState = stateService.setState(name, InstanceState.StateType.NOT_RUNNING, false);
210 InstanceState.StateType.RESTART_REQUIRED :
211 InstanceState.StateType.RUNNING,
221 ssState = stateService.setState(name, InstanceState.StateType.NOT_RUNNING, false);
299 private InstanceState.StateType ssState;
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DClusterHandler.java111 if (value.toString().equals(InstanceState.StateType.RUNNING.getDescription())){
114 if (value.toString().equals(InstanceState.StateType.NOT_RUNNING.getDescription())){
117 if (value.toString().equals(InstanceState.StateType.RESTART_REQUIRED.getDescription())){

Completed in 61 milliseconds