org.jboss.system
Interface ServiceMBean

All Superinterfaces:
Service
All Known Subinterfaces:
AttributePersistenceServiceMBean, BarrierControllerMBean, ClasspathExtensionMBean, DeploymentCacheMBean, DeploymentScannerMBean, DeploymentStoreMBean, FileDeploymentStoreMBean, HttpURLDeploymentScannerMBean, InterceptorServiceMBean, JARDeployerMBean, ListenerServiceMBean, MainDeployerMBean, SARDeployerMBean, SubDeployerExtMBean, SubDeployerInterceptorMBean, SubDeployerMBean, URLDeploymentScannerMBean, URLDirectoryScannerMBean, XSLSubDeployerMBean
All Known Implementing Classes:
AbstractDeploymentScanner, AttributePersistenceService, BarrierController, BarrierController.Barrier, ClasspathExtension, DeploymentCache, FileDeploymentStore, HttpURLDeploymentScanner, InterceptorServiceMBeanSupport, JARDeployer, ListenerServiceMBeanSupport, MainDeployer, ObjectModelFactorySimpleSubDeployerSupport, SARDeployer, SchemaBindingSimpleSubDeployerSupport, ServiceDynamicMBeanSupport, ServiceMBeanSupport, SimpleSubDeployerSupport, SubDeployerInterceptorSupport, SubDeployerSupport, URLDeploymentScanner, URLDirectoryScanner, XSLSubDeployer

public interface ServiceMBean
extends Service

An interface describing a JBoss service MBean.

Version:
$Revision: 1.7.6.2 $
Author:
Rickard Öberg, Andreas Schaefer, Scott.Stark@jboss.org
See Also:
Service, ServiceMBeanSupport

Field Summary
static String CREATE_EVENT
          ServiceController notification types corresponding to service lifecycle events
static int CREATED
          The Service.create has completed
static String DESTROY_EVENT
           
static int DESTROYED
          The Service.destroy has completed
static int FAILED
          There has been an error during some operation
static int REGISTERED
          The MBean has been created and has completed MBeanRegistration.postRegister
static String START_EVENT
           
static int STARTED
          The Service.start has completed
static int STARTING
          The Service.start has been invoked
static String[] states
           
static String STOP_EVENT
           
static int STOPPED
          The Service.stop has completed
static int STOPPING
          The Service.stop has been invoked
static int UNREGISTERED
          The MBean has been created but has not completed MBeanRegistration.postRegister
 
Method Summary
 String getName()
           
 int getState()
           
 String getStateString()
           
 void jbossInternalLifecycle(String method)
          Detyped lifecycle invocation
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

CREATE_EVENT

static final String CREATE_EVENT
ServiceController notification types corresponding to service lifecycle events

See Also:
Constant Field Values

START_EVENT

static final String START_EVENT
See Also:
Constant Field Values

STOP_EVENT

static final String STOP_EVENT
See Also:
Constant Field Values

DESTROY_EVENT

static final String DESTROY_EVENT
See Also:
Constant Field Values

states

static final String[] states

STOPPED

static final int STOPPED
The Service.stop has completed

See Also:
Constant Field Values

STOPPING

static final int STOPPING
The Service.stop has been invoked

See Also:
Constant Field Values

STARTING

static final int STARTING
The Service.start has been invoked

See Also:
Constant Field Values

STARTED

static final int STARTED
The Service.start has completed

See Also:
Constant Field Values

FAILED

static final int FAILED
There has been an error during some operation

See Also:
Constant Field Values

DESTROYED

static final int DESTROYED
The Service.destroy has completed

See Also:
Constant Field Values

CREATED

static final int CREATED
The Service.create has completed

See Also:
Constant Field Values

UNREGISTERED

static final int UNREGISTERED
The MBean has been created but has not completed MBeanRegistration.postRegister

See Also:
Constant Field Values

REGISTERED

static final int REGISTERED
The MBean has been created and has completed MBeanRegistration.postRegister

See Also:
Constant Field Values
Method Detail

getName

String getName()

getState

int getState()

getStateString

String getStateString()

jbossInternalLifecycle

void jbossInternalLifecycle(String method)
                            throws Exception
Detyped lifecycle invocation

Throws:
Exception


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