public final class SOMFactory
extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SOMFactory.Properties
Properties.
|
class |
SOMFactory.Queue
Queue.
|
class |
SOMFactory.Topic
Topic.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PRIVATE_PROPERTY
Private property.
|
static String |
SERVER_PROPERTY
Server property.
|
| Constructor and Description |
|---|
SOMFactory(Config config)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
SOMFactory.Queue |
createQueue(KeyedGroups queueProperties)
Creates a queue instance.
|
SOMFactory.Topic |
createTopic(KeyedGroups topicProperties)
Creates a topic instance.
|
static boolean |
isPrivate(KeyedGroups somProperties)
Asks if configured to be private.
|
static boolean |
isServer(KeyedGroups somProperties)
Asks if configured to be a server.
|
public static final String PRIVATE_PROPERTY
public static final String SERVER_PROPERTY
public SOMFactory(@Nonnull
Config config)
config - The service config.@CheckReturnValue
public static boolean isPrivate(@Nonnull
KeyedGroups somProperties)
somProperties - SOM properties.@CheckReturnValue
public static boolean isServer(@Nonnull
KeyedGroups somProperties)
somProperties - SOM properties.@Nonnull @CheckReturnValue public SOMFactory.Queue createQueue(@Nonnull KeyedGroups queueProperties)
queueProperties - The queue properties.@Nonnull @CheckReturnValue public SOMFactory.Topic createTopic(@Nonnull KeyedGroups topicProperties)
topicProperties - The topic properties.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.