javax.jbi.management
インタフェース LifeCycleMBean

既知のサブインタフェースの一覧:
ComponentLifeCycleMBean

public interface LifeCycleMBean

LifeCycleMBean is a base interface that defines standard life cycle controls for JBI implementation services (which are implementation-specific), and JBI components (bindings and engines).

作成者:
JSR208 Expert Group

フィールドの概要
static java.lang.String RUNNING
          Value returned by getCurrentState() for a running component.
static java.lang.String SHUTDOWN
          Value returned by getCurrentState() for a shutdown component.
static java.lang.String STOPPED
          Value returned by getCurrentState() for a stopped component.
static java.lang.String UNKNOWN
          Value returned by getCurrentState() for a component in an unknown state.
 
メソッドの概要
 java.lang.String getCurrentState()
          Get the current state of this managed compononent.
 void shutDown()
          Shut down the item.
 void start()
          Start the item.
 void stop()
          Stop the item.
 

フィールドの詳細

SHUTDOWN

static final java.lang.String SHUTDOWN
Value returned by getCurrentState() for a shutdown component.

関連項目:
定数フィールド値

STOPPED

static final java.lang.String STOPPED
Value returned by getCurrentState() for a stopped component.

関連項目:
定数フィールド値

RUNNING

static final java.lang.String RUNNING
Value returned by getCurrentState() for a running component.

関連項目:
定数フィールド値

UNKNOWN

static final java.lang.String UNKNOWN
Value returned by getCurrentState() for a component in an unknown state.

関連項目:
定数フィールド値
メソッドの詳細

start

void start()
           throws JBIException
Start the item.

例外:
JBIException - if the item fails to start.

stop

void stop()
          throws JBIException
Stop the item. This suspends current messaging activities.

例外:
JBIException - if the item fails to stop.

shutDown

void shutDown()
              throws JBIException
Shut down the item. This releases resources and returns the item to an uninitialized state.

例外:
JBIException - if the item fails to shut down.

getCurrentState

java.lang.String getCurrentState()
Get the current state of this managed compononent.

戻り値:
the current state of this managed component (must be one of the string constants defined by this interface)


Copyright (C) 1998 - 2012 NEC Corporation. All rights reserved.