HOME

com.ireasoning.core.jmx
Interface State

All Known Subinterfaces:
AdaptorServerMBean, ServiceMBean
All Known Implementing Classes:
AdaptorServer, Session

public interface State

This interface represents object with state information.


Field Summary
static int STARTED
          Signals service already started and is running
static int STARTING
          Starting state, service is starting
static String[] STATES
          state string array, possible values are {"Starting","Started", "Stopping", "Stopped"}
static int STOPPED
          Signals service is already stopped
static int STOPPING
          Signals service is stopping
static int UNINITIALIZED
           
 
Method Summary
 int getState()
          Returns the current state of service, one of {State.STARTING, State.STARTED, State.STOPPING, State.STARTED}
 String getStateString()
          Returns the string representation of current state.
 

Field Detail

STATES

public static final String[] STATES
state string array, possible values are {"Starting","Started", "Stopping", "Stopped"}


STARTING

public static final int STARTING
Starting state, service is starting

See Also:
Constant Field Values

STARTED

public static final int STARTED
Signals service already started and is running

See Also:
Constant Field Values

STOPPING

public static final int STOPPING
Signals service is stopping

See Also:
Constant Field Values

STOPPED

public static final int STOPPED
Signals service is already stopped

See Also:
Constant Field Values

UNINITIALIZED

public static final int UNINITIALIZED
See Also:
Constant Field Values
Method Detail

getState

public int getState()
Returns the current state of service, one of {State.STARTING, State.STARTED, State.STOPPING, State.STARTED}


getStateString

public String getStateString()
Returns the string representation of current state. Possible values are {"Starting","Started", "Stopping", "Stopped"}


HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.