|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageBusBinding.State>
com.neeve.sma.MessageBusBinding.State
public static enum MessageBusBinding.State
Enumerates the different binding states
Enum Constant Summary | |
---|---|
Closed
Indicates that a binding has been closed. |
|
Closing
Indicates that a binding is in the process of being closed. |
|
Failed
Indicates that a binding has failed. |
|
Open
Indicates that a binding is open and ready for operation. |
Method Summary | |
---|---|
static MessageBusBinding.State |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MessageBusBinding.State[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MessageBusBinding.State Open
public static final MessageBusBinding.State Closing
A binding transitions to this state when a close has been initiated by the user.
public static final MessageBusBinding.State Failed
A binding transitions to this state when it fails and before it
dispatches the failure event. This state can only be set in bindings
that supports failure i.e. if the MessageBusBinding.canFail()
returns true.
public static final MessageBusBinding.State Closed
A binding transitions to this state when closed by the user.
Method Detail |
---|
public static MessageBusBinding.State[] values()
for (MessageBusBinding.State c : MessageBusBinding.State.values()) System.out.println(c);
public static MessageBusBinding.State valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |