com.ibm.msg.client.jms

Interface JmsReadablePropertyContext

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean getBooleanProperty(java.lang.String name)
      Gets the boolean property value with the given name.
      byte getByteProperty(java.lang.String name)
      Gets the byte property value with the given name.
      byte[] getBytesProperty(java.lang.String name)
      Gets the bytes property value with the given name.
      char getCharProperty(java.lang.String name)
      Gets the char property value with the given name.
      double getDoubleProperty(java.lang.String name)
      Gets the double property value with the given name.
      float getFloatProperty(java.lang.String name)
      Gets the float property value with the given name.
      int getIntProperty(java.lang.String name)
      Gets the int property value with the given name.
      long getLongProperty(java.lang.String name)
      Gets the long property value with the given name.
      java.lang.Object getObjectProperty(java.lang.String name)
      Gets the Object property value with the given name.
      java.util.Enumeration<java.lang.String> getPropertyNames()
      Gets all properties which have been set on a resource.
      short getShortProperty(java.lang.String name)
      Gets the short property value with the given name.
      java.lang.String getStringProperty(java.lang.String name)
      Gets the String property value with the given name.
      boolean propertyExists(java.lang.String name)
      Indicates whether the specified property exists in the property context.
    • Method Detail

      • propertyExists

        boolean propertyExists(java.lang.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
      • getCharProperty

        char getCharProperty(java.lang.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
      • getBooleanProperty

        boolean getBooleanProperty(java.lang.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
      • getByteProperty

        byte getByteProperty(java.lang.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
      • getShortProperty

        short getShortProperty(java.lang.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
      • getIntProperty

        int getIntProperty(java.lang.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
      • getLongProperty

        long getLongProperty(java.lang.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
      • getFloatProperty

        float getFloatProperty(java.lang.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
      • getDoubleProperty

        double getDoubleProperty(java.lang.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
      • getStringProperty

        java.lang.String getStringProperty(java.lang.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
      • getObjectProperty

        java.lang.Object getObjectProperty(java.lang.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
      • getBytesProperty

        byte[] getBytesProperty(java.lang.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
      • getPropertyNames

        java.util.Enumeration<java.lang.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
(c) Copyright IBM Corp. 2008, 2015. All Rights Reserved.