Class WmTopicImpl

    • Constructor Detail

      • WmTopicImpl

        public WmTopicImpl()
      • WmTopicImpl

        public WmTopicImpl​(java.lang.String topicName)
                    throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • WmTopicImpl

        public WmTopicImpl​(java.lang.String topicName,
                           java.util.HashMap<java.lang.String,​java.lang.String> options)
                    throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • getTopicName

        public java.lang.String getTopicName()
                                      throws javax.jms.JMSException
        Gets the name of this topic.

        Clients that depend upon the name are not portable.

        Specified by:
        getTopicName in interface javax.jms.Topic
        Returns:
        the topic name
        Throws:
        javax.jms.JMSException - if the JMS provider implementation of Topic fails to return the topic name due to some internal error.
      • isWildCard

        public boolean isWildCard()
                           throws javax.jms.JMSException
        Get whether the destination is wildcarded.
        Specified by:
        isWildCard in interface WmDestination
        Overrides:
        isWildCard in class WmDestinationImpl
        Returns:
        true if the destination is wildcarded; false otherwise
        Throws:
        javax.jms.JMSException - if unable to determine if the Destination is wildcarded.
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Overrides:
        writeExternal in class WmDestinationImpl
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Overrides:
        readExternal in class WmDestinationImpl
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException