org.jboss.system
Class ServiceContext

java.lang.Object
  extended byorg.jboss.system.ServiceContext
All Implemented Interfaces:
java.io.Serializable

public class ServiceContext
extends java.lang.Object
implements java.io.Serializable

ServiceContext holds information for the Service

See Also:
Service (src) , ServiceMBeanSupport (src) , Serialized Form

Field Summary
static int CONFIGURED
           
static int CREATED
           
 java.util.List dependsOnMe
          Beans that depend on me
static int DESTROYED
           
static int FAILED
           
 java.util.List iDependOn
          Dependent beans
static int INSTALLED
          Valid service states
static int NOTYETINSTALLED
           
 ObjectName (src) objectName
          The name of the service
 java.lang.Throwable problem
          Cause for failure
 Service (src) proxy
          The fancy proxy to my service calls
static int RUNNING
           
 int state
          State of the service
static int STOPPED
           
 
Constructor Summary
ServiceContext()
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTALLED

public static final int INSTALLED
Valid service states

See Also:
Constant Field Values (src)

CONFIGURED

public static final int CONFIGURED
See Also:
Constant Field Values (src)

CREATED

public static final int CREATED
See Also:
Constant Field Values (src)

RUNNING

public static final int RUNNING
See Also:
Constant Field Values (src)

FAILED

public static final int FAILED
See Also:
Constant Field Values (src)

STOPPED

public static final int STOPPED
See Also:
Constant Field Values (src)

DESTROYED

public static final int DESTROYED
See Also:
Constant Field Values (src)

NOTYETINSTALLED

public static final int NOTYETINSTALLED
See Also:
Constant Field Values (src)

objectName

public ObjectName (src)  objectName
The name of the service


state

public int state
State of the service


iDependOn

public java.util.List iDependOn
Dependent beans


dependsOnMe

public java.util.List dependsOnMe
Beans that depend on me


proxy

public Service (src)  proxy
The fancy proxy to my service calls


problem

public java.lang.Throwable problem
Cause for failure

Constructor Detail

ServiceContext

public ServiceContext()
Method Detail

toString

public java.lang.String toString()