org.jboss.system
Class ServiceContext

java.lang.Object
  extended by org.jboss.system.ServiceContext
All Implemented Interfaces:
Serializable

public class ServiceContext
extends Object
implements Serializable

ServiceContext holds information for the Service

Version:
$Revision: 1.12.6.3 $
Author:
marc fleury, Dimitris Andreadis
See Also:
Service, ServiceMBeanSupport, Serialized Form

Field Summary
static int CONFIGURED
           
static int CREATED
           
 List dependsOnMe
          Beans that depend on me
static int DESTROYED
           
static int FAILED
           
 List iDependOn
          Dependent beans
static int INSTALLED
          Valid service states
static int NOTYETINSTALLED
           
 javax.management.ObjectName objectName
          The name of the service
 Throwable problem
          Cause for failure
 Service 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
 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

CONFIGURED

public static final int CONFIGURED
See Also:
Constant Field Values

CREATED

public static final int CREATED
See Also:
Constant Field Values

RUNNING

public static final int RUNNING
See Also:
Constant Field Values

FAILED

public static final int FAILED
See Also:
Constant Field Values

STOPPED

public static final int STOPPED
See Also:
Constant Field Values

DESTROYED

public static final int DESTROYED
See Also:
Constant Field Values

NOTYETINSTALLED

public static final int NOTYETINSTALLED
See Also:
Constant Field Values

objectName

public javax.management.ObjectName objectName
The name of the service


state

public int state
State of the service


iDependOn

public List iDependOn
Dependent beans


dependsOnMe

public List dependsOnMe
Beans that depend on me


proxy

public Service proxy
The fancy proxy to my service calls


problem

public Throwable problem
Cause for failure

Constructor Detail

ServiceContext

public ServiceContext()
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.