Interface JmsReadablePropertyContext

All Superinterfaces:
Serializable
All Known Subinterfaces:
JmsCapabilityContext, JmsConnection, JmsConnectionFactory, JmsConnectionMetaData, JmsConsumer, JmsContext, JmsDestination, JmsMessageConsumer, JmsMessageProducer, JmsPropertyContext, JmsQueue, JmsQueueBrowser, JmsQueueConnection, JmsQueueConnectionFactory, JmsQueueReceiver, JmsQueueSender, JmsQueueSession, JmsSession, JmsTemporaryQueue, JmsTemporaryTopic, JmsTopic, JmsTopicConnection, JmsTopicConnectionFactory, JmsTopicPublisher, JmsTopicSession, JmsTopicSubscriber, JmsXAConnection, JmsXAConnectionFactory, JmsXAContext, JmsXAQueueConnection, JmsXAQueueConnectionFactory, JmsXAQueueSession, JmsXASession, JmsXATopicConnection, JmsXATopicConnectionFactory, JmsXATopicSession
All Known Implementing Classes:
Cleanup, com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl, com.ibm.msg.client.jms.admin.JmsDestinationImpl, com.ibm.msg.client.jms.admin.JmsJndiConnectionFactoryImpl, com.ibm.msg.client.jms.admin.JmsJndiDestinationImpl, com.ibm.msg.client.jms.internal.JmsPropertyContextImpl, com.ibm.msg.client.jms.internal.JmsReadablePropertyContextImpl, MQConnection, MQConnectionFactory, MQConnectionMetaData, MQDestination, MQMessageConsumer, MQMessageProducer, MQQueue, MQQueueBrowser, MQQueueConnection, MQQueueConnectionFactory, MQQueueReceiver, MQQueueSender, MQQueueSession, MQRoot, MQSession, MQTemporaryQueue, MQTemporaryTopic, MQTopic, MQTopicConnection, MQTopicConnectionFactory, MQTopicPublisher, MQTopicSession, MQTopicSubscriber, MQXAConnection, MQXAConnectionFactory, MQXAQueueConnection, MQXAQueueConnectionFactory, MQXAQueueSession, MQXASession, MQXATopicConnection, MQXATopicConnectionFactory, MQXATopicSession

public interface JmsReadablePropertyContext extends Serializable
JmsReadablePropertyContext is a read-only collection of properties
  • Method Details

    • propertyExists

      boolean propertyExists(String name) throws javax.jms.JMSException
      Indicates whether the specified property exists in the property context.
      Parameters:
      name - the name of the property to check.
      Returns:
      true if the property exists, false if it does not.
      Throws:
      javax.jms.JMSException - if the name of the property is null.
    • getCharProperty

      char getCharProperty(String name) throws javax.jms.JMSException
      Gets the char property value with the given name. Throws a JMSException if the value of the property is null.
      Parameters:
      name - The name of the property to be retrieved.
      Returns:
      the char property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Character type.
    • getBooleanProperty

      boolean getBooleanProperty(String name) throws javax.jms.JMSException
      Gets the boolean property value with the given name. Returns false if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the boolean property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Boolean type.
    • getByteProperty

      byte getByteProperty(String name) throws javax.jms.JMSException
      Gets the byte property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the byte property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Byte type.
    • getShortProperty

      short getShortProperty(String name) throws javax.jms.JMSException
      Gets the short property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the short property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Short type.
    • getIntProperty

      int getIntProperty(String name) throws javax.jms.JMSException
      Gets the int property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the int property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Integer type.
    • getLongProperty

      long getLongProperty(String name) throws javax.jms.JMSException
      Gets the long property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the long property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to long type.
    • getFloatProperty

      float getFloatProperty(String name) throws javax.jms.JMSException
      Gets the float property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the float property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Float type.
    • getDoubleProperty

      double getDoubleProperty(String name) throws javax.jms.JMSException
      Gets the double property value with the given name. Throws a NumberFormatException if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the double property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to Double type.
    • getStringProperty

      String getStringProperty(String name) throws javax.jms.JMSException
      Gets the String property value with the given name. Returns null if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the String property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null or if the value can not be converted to String type.
    • getObjectProperty

      Object getObjectProperty(String name) throws javax.jms.JMSException
      Gets the Object property value with the given name. Returns null if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the Object property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null.
    • getBytesProperty

      byte[] getBytesProperty(String name) throws javax.jms.JMSException
      Gets the bytes property value with the given name. Returns null if the value of the property is null.
      Parameters:
      name - the name of the property to be retrieved.
      Returns:
      the byte array property value with the given name.
      Throws:
      javax.jms.JMSException - if the value of the property is null.
    • getPropertyNames

      Enumeration<String> getPropertyNames() throws javax.jms.JMSException
      Gets all properties which have been set on a resource. If no properties have been set, this method returns an empty enumeration.
      Returns:
      the Enumeration of all set properties.
      Throws:
      javax.jms.JMSException - if an error occurs while enumerating property names.
    • stringifyMe

      default String stringifyMe()
      Returns:
      string containing class and hashcode
      exclude