org.jboss.soa.esb.listeners.deployers.mc
Interface EsbDeploymentMBean

All Known Implementing Classes:
EsbDeployment

public interface EsbDeploymentMBean

Interface for exposing JMX operations.

Author:
Daniel Bevenius

Field Summary
static int CREATED
          create has completed
static int CREATING
          create has been invoked
static int DESTROYED
          destroy has completed
static int DESTROYING
          destroy has been invoked
static int FAILED
          There has been an error during some operation
static int INITIALIZED
          initialize has completed
static int INITIALIZING
          initialize has been invoked
static int STARTED
          start has completed
static int STARTING
          start has been invoked
static java.lang.String[] states
           
static int STOPPED
          stop has completed
static int STOPPING
          stop has been invoked
static int UNREGISTERED
          not yet created
 
Method Summary
 java.lang.String getJbossEsbXml()
          Gets the jboss-esb.xml configuration.
 java.lang.String getJbossEsbXmlAsHtml()
          Gets the jboss-esb.xml configuration as html.
 int getState()
           
 java.lang.String getStateString()
           
 boolean isStarted()
          Is the deployment started.
 void start()
          Start a deployment.
 void stop()
          Stop a deployment.
 

Field Detail

states

static final java.lang.String[] states

STOPPED

static final int STOPPED
stop has completed

See Also:
Constant Field Values

STOPPING

static final int STOPPING
stop has been invoked

See Also:
Constant Field Values

STARTING

static final int STARTING
start has been invoked

See Also:
Constant Field Values

STARTED

static final int STARTED
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

DESTROYING

static final int DESTROYING
destroy has been invoked

See Also:
Constant Field Values

DESTROYED

static final int DESTROYED
destroy has completed

See Also:
Constant Field Values

CREATING

static final int CREATING
create has been invoked

See Also:
Constant Field Values

CREATED

static final int CREATED
create has completed

See Also:
Constant Field Values

INITIALIZING

static final int INITIALIZING
initialize has been invoked

See Also:
Constant Field Values

INITIALIZED

static final int INITIALIZED
initialize has completed

See Also:
Constant Field Values

UNREGISTERED

static final int UNREGISTERED
not yet created

See Also:
Constant Field Values
Method Detail

start

void start()
           throws java.lang.Exception
Start a deployment.

Throws:
java.lang.Exception - If an exception occurs while starting.

isStarted

boolean isStarted()
Is the deployment started.

Returns:
True if the deployment is started, otherwise false.

stop

void stop()
          throws java.lang.Exception
Stop a deployment.

Throws:
java.lang.Exception - If an exeption occurs while stoping.

getJbossEsbXml

java.lang.String getJbossEsbXml()
Gets the jboss-esb.xml configuration.

Returns:
String The jboss-esb.xml files content.

getJbossEsbXmlAsHtml

java.lang.String getJbossEsbXmlAsHtml()
Gets the jboss-esb.xml configuration as html.

Returns:
String The jboss-esb.xml files content as html.

getStateString

java.lang.String getStateString()

getState

int getState()