Searched refs:InstanceState (Results 1 - 11 of 11) sorted by relevance

/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/util/
H A DInstanceStateService.java83 private HashMap<String, InstanceState> instanceStates;
94 instanceStates = new HashMap<String, InstanceState>();
102 instanceStates = new HashMap<String, InstanceState>();
118 instanceStates.put(instanceName, new InstanceState(InstanceState.StateType.NEVER_STARTED));
133 InstanceState i = instanceStates.get(instance);
134 if (i != null && i.getState() != InstanceState.StateType.NEVER_STARTED &&
147 InstanceState i = instanceStates.get(instance);
157 public InstanceState.StateType getState(String instanceName) {
159 InstanceState
[all...]
H A DInstanceStateFileProcessor.java44 import org.glassfish.api.admin.InstanceState;
59 * This parses the instance state file and sets up the InstanceState singleton object for use by
65 private HashMap<String, InstanceState> instanceStates;
67 public InstanceStateFileProcessor(HashMap<String, InstanceState> st, File xmlFile)
88 static public InstanceStateFileProcessor createNew(HashMap<String, InstanceState> st, File xmlFileObject)
99 InstanceState.StateType.NO_RESPONSE.getDescription()+"\" />");
110 String newState = InstanceState.StateType.NEVER_STARTED.getDescription();
141 InstanceState newInstanceState = null;
143 newInstanceState = new InstanceState(InstanceState
[all...]
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);
H A DCommandThreadPool.java52 import org.glassfish.api.admin.InstanceState;
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/
H A DInstanceState.java55 public class InstanceState { class
131 public InstanceState(StateType st) { method in class:InstanceState
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DListClustersCommand.java53 import org.glassfish.api.admin.InstanceState;
164 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.java59 import org.glassfish.api.admin.InstanceState;
148 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
[all...]
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DClusterHandler.java71 import org.glassfish.api.admin.InstanceState;
111 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 21 milliseconds