|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TopicOrientedApplication.ChannelJoin>
com.neeve.toa.TopicOrientedApplication.ChannelJoin
public static enum TopicOrientedApplication.ChannelJoin
Enumerates the channel join options that a ChannelJoinProvider
can specify.
| Enum Constant Summary | |
|---|---|
Default
Indicates that the provider has no opinion and will defer to the default behavior of Hornet or other ChannelJoinProviders
When no channel join behavior is otherwise specified Hornet will join
a channel if there is EventHandler for a message type mapped to it in
a service definition. |
|
Join
Indicates that a channel should be joined even if there are no message handlers present for types mapped to the channel. |
|
NoJoin
Indicates that a channel should not be joined regardless of whether or not there are message handlers present for types mapped to the channel. |
|
| Method Summary | |
|---|---|
static TopicOrientedApplication.ChannelJoin |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TopicOrientedApplication.ChannelJoin[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, 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 TopicOrientedApplication.ChannelJoin Default
ChannelJoinProviders
When no channel join behavior is otherwise specified Hornet will join a channel if there is EventHandler for a message type mapped to it in a service definition.
public static final TopicOrientedApplication.ChannelJoin NoJoin
public static final TopicOrientedApplication.ChannelJoin Join
| Method Detail |
|---|
public static TopicOrientedApplication.ChannelJoin[] values()
for (TopicOrientedApplication.ChannelJoin c : TopicOrientedApplication.ChannelJoin.values()) System.out.println(c);
public static TopicOrientedApplication.ChannelJoin 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 | ||||||||