|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.DestinationConstants
public final class DestinationConstants
Defines constants needed to distinguish Queue and Topic.
Field Summary | |
---|---|
private static byte |
DESTINATION_TYPE
the destination is a Queue or a Topic |
static byte |
QUEUE_TYPE
the destination is a Queue |
static byte |
TEMPORARY
the destination is temporary |
static byte |
TOPIC_TYPE
the destination is a Topic |
Constructor Summary | |
---|---|
DestinationConstants()
|
Method Summary | |
---|---|
static void |
checkId(java.lang.String id)
Check the specified destination identifier. |
static boolean |
compatible(byte type1,
byte type2)
|
static java.lang.String |
getAdminTopicId(int serverId)
|
static java.lang.String |
getNullId(int serverId)
|
static byte |
getQueueType()
|
static byte |
getTemporaryQueueType()
|
static byte |
getTemporaryTopicType()
|
static byte |
getTopicType()
|
static boolean |
isQueue(byte type)
|
static boolean |
isTemporary(byte type)
|
static boolean |
isTopic(byte type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte TOPIC_TYPE
public static final byte QUEUE_TYPE
public static final byte TEMPORARY
private static final byte DESTINATION_TYPE
Constructor Detail |
---|
public DestinationConstants()
Method Detail |
---|
public static final boolean compatible(byte type1, byte type2)
public static final boolean isQueue(byte type)
public static final boolean isTopic(byte type)
public static final boolean isTemporary(byte type)
public static final byte getQueueType()
public static final byte getTopicType()
public static final byte getTemporaryQueueType()
public static final byte getTemporaryTopicType()
public static final void checkId(java.lang.String id) throws java.lang.Exception
java.lang.Exception
- if an invalid destination identifier is specified.public static final java.lang.String getNullId(int serverId)
public static final java.lang.String getAdminTopicId(int serverId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |