org.exolab.jms.selector
Class Identifiers

java.lang.Object
  |
  +--org.exolab.jms.selector.Identifiers

public final class Identifiers
extends java.lang.Object

Utility methods for JMS message header identifiers

Version:
$Revision: 1.6 $ $Date: 2003/08/10 07:33:39 $
Author:
Tim Anderson

Field Summary
static java.lang.String JMS_CORRELATION_ID
          The JMSCorrelationID identifier
static java.lang.String JMS_DELIVERY_MODE
          The JMSDeliveryMode identifier
static java.lang.String JMS_MESSAGE_ID
          The JMSMessageID identifier
static java.lang.String JMS_PREFIX
          Prefix for identifiers available via message methods
static java.lang.String JMS_PRIORITY
          The JMSPriority identifier
static java.lang.String JMS_PROVIDER_PREFIX
          Prefix for provider specific identifiers
static java.lang.String JMS_TIMESTAMP
          The JMSTimestamp identifier
static java.lang.String JMS_TYPE
          The JMSType identifier
static java.lang.String JMSX_PREFIX
          Prefix for identifiers specified by the JMS standard
static java.lang.String NON_PERSISTENT
          The non-persistent delivery mode
static java.lang.String PERSISTENT
          The persistent delivery mode
 
Method Summary
static boolean isJMSIdentifier(java.lang.String name)
          Determines if an identifier is a JMS identifier (not a JMSX or provider specific identifier)
static boolean isNumeric(java.lang.String name)
          Determines if a JMS identifier is numeric
static boolean isQueryableJMSIdentifier(java.lang.String name)
          Determines if a JMS identifier is valid in selectors
static boolean isString(java.lang.String name)
          Determines if a JMS identifier is a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMS_PREFIX

public static final java.lang.String JMS_PREFIX
Prefix for identifiers available via message methods

JMSX_PREFIX

public static final java.lang.String JMSX_PREFIX
Prefix for identifiers specified by the JMS standard

JMS_PROVIDER_PREFIX

public static final java.lang.String JMS_PROVIDER_PREFIX
Prefix for provider specific identifiers

JMS_DELIVERY_MODE

public static final java.lang.String JMS_DELIVERY_MODE
The JMSDeliveryMode identifier

JMS_PRIORITY

public static final java.lang.String JMS_PRIORITY
The JMSPriority identifier

JMS_MESSAGE_ID

public static final java.lang.String JMS_MESSAGE_ID
The JMSMessageID identifier

JMS_TIMESTAMP

public static final java.lang.String JMS_TIMESTAMP
The JMSTimestamp identifier

JMS_CORRELATION_ID

public static final java.lang.String JMS_CORRELATION_ID
The JMSCorrelationID identifier

JMS_TYPE

public static final java.lang.String JMS_TYPE
The JMSType identifier

PERSISTENT

public static final java.lang.String PERSISTENT
The persistent delivery mode

NON_PERSISTENT

public static final java.lang.String NON_PERSISTENT
The non-persistent delivery mode
Method Detail

isJMSIdentifier

public static boolean isJMSIdentifier(java.lang.String name)
Determines if an identifier is a JMS identifier (not a JMSX or provider specific identifier)
Parameters:
name - the identifier name
Returns:
true if the identifier is a JMS identifier, otherwise false

isQueryableJMSIdentifier

public static boolean isQueryableJMSIdentifier(java.lang.String name)
Determines if a JMS identifier is valid in selectors
Parameters:
name - the identifier name
Returns:
true if the identifier may be selected upon, otherwise false

isString

public static boolean isString(java.lang.String name)
Determines if a JMS identifier is a string
Parameters:
name - the identifier name
Returns:
true if the identifier is a string, otherwise false

isNumeric

public static boolean isNumeric(java.lang.String name)
Determines if a JMS identifier is numeric
Parameters:
name - the identifier name
Returns:
true if the identifier is numeric, otherwise false


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.