Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


com.oracle.bpel.client
Class BPELDomainStatus

java.lang.Object
  extended bycom.oracle.bpel.client.BPELDomainStatus

All Implemented Interfaces:
java.io.Serializable

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

This class contains all the status information for a particular BPEL process domain.

Since:
2.0
See Also:
Serialized Form

Field Summary
static int STATE_FAILED
          State value for a BPEL domain that has failed to initialize.
static int STATE_INITIALIZED
          State value for a BPEL domain that has successfully initialized and is ready to service requests.
static int STATE_INITIALIZING
          State value for a BPEL domain that is currently initializing.
static int STATE_UNINITIALIZING
          State value for a BPEL domain that is currently uninitializing.

 

Constructor Summary
BPELDomainStatus(java.lang.String domainId, int state, java.lang.Throwable error)
          Constructs a status object with the specified domain identifier, state and error.

 

Method Summary
 java.lang.String getDomainId()
          Returns the BPEL domain identifier.
 java.lang.Throwable getError()
          Returns the error encountered while the BPEL domain was initializing.
 int getState()
          Returns the state for this BPEL domain.
 boolean hasFailed()
          Returns true if the BPEL domain has failed to initialize.
 boolean hasInitialized()
          Returns true if the BPEL domain has successfully initialized.
 boolean isInitializing()
          Returns true if the BPEL domain is currently initializing.
 boolean isUninitializing()
          Returns true if the BPEL domain is currently uninitializing.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

STATE_INITIALIZING

public static final int STATE_INITIALIZING
State value for a BPEL domain that is currently initializing. No requests can be serviced.
See Also:
Constant Field Values

STATE_INITIALIZED

public static final int STATE_INITIALIZED
State value for a BPEL domain that has successfully initialized and is ready to service requests.
See Also:
Constant Field Values

STATE_UNINITIALIZING

public static final int STATE_UNINITIALIZING
State value for a BPEL domain that is currently uninitializing. No requests can be serviced.
See Also:
Constant Field Values

STATE_FAILED

public static final int STATE_FAILED
State value for a BPEL domain that has failed to initialize. Check getError for more information.
See Also:
Constant Field Values

Constructor Detail

BPELDomainStatus

public BPELDomainStatus(java.lang.String domainId,
                        int state,
                        java.lang.Throwable error)
Constructs a status object with the specified domain identifier, state and error.

Method Detail

getDomainId

public java.lang.String getDomainId()
Returns the BPEL domain identifier.

getState

public int getState()
Returns the state for this BPEL domain.

isInitializing

public boolean isInitializing()
Returns true if the BPEL domain is currently initializing.
See Also:
STATE_INITIALIZING

hasInitialized

public boolean hasInitialized()
Returns true if the BPEL domain has successfully initialized.
See Also:
STATE_INITIALIZED

isUninitializing

public boolean isUninitializing()
Returns true if the BPEL domain is currently uninitializing.
See Also:
STATE_UNINITIALIZING

hasFailed

public boolean hasFailed()
Returns true if the BPEL domain has failed to initialize.
See Also:
STATE_FAILED, getError()

getError

public java.lang.Throwable getError()
Returns the error encountered while the BPEL domain was initializing. Will return null if the BPEL domain initialized successfully.

Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


Copyright © 2005, Oracle. All rights reserved.