Class WmTemporaryTopicImpl

    • Constructor Detail

      • WmTemporaryTopicImpl

        public WmTemporaryTopicImpl()
    • Method Detail

      • delete

        public void delete()
                    throws javax.jms.JMSException
        Deletes this temporary topic. If there are existing subscribers still using it, a JMSException will be thrown.
        Specified by:
        delete in interface javax.jms.TemporaryTopic
        Specified by:
        delete in interface WmTemporaryDestination
        Throws:
        javax.jms.JMSException - if the JMS provider fails to delete the temporary topic due to some internal error.
      • setEventType

        public void setEventType​(java.lang.String eventType)
                          throws javax.jms.JMSException
        Set the event type to be used by this temporary destination.
        Specified by:
        setEventType in interface WmDestination
        Specified by:
        setEventType in interface WmTemporaryDestination
        Overrides:
        setEventType in class WmDestinationImpl
        Parameters:
        eventType - the event type to use for this temporary destination
        Throws:
        javax.jms.JMSException - if the JMS provider fails to set the event type for this destination due to some internal error.
        See Also:
        WmDestination.getEventType()
      • setSharedState

        public void setSharedState​(boolean sharedState)
                            throws javax.jms.JMSException
        Set the shared state attribute of this temporary destination.
        Specified by:
        setSharedState in interface WmDestination
        Overrides:
        setSharedState in class WmDestinationImpl
        Parameters:
        sharedState - the shared state value for this temporary destination
        Throws:
        javax.jms.JMSException - if the JMS provider fails to set the shared state value for this destination due to some internal error.
        See Also:
        WmDestination.getSharedState()
      • isDeleted

        public boolean isDeleted()
        Get whether this temporary destination has been deleted.
        Specified by:
        isDeleted in interface WmTemporaryDestination
        Returns:
        true if this temporary destination has been deleted.
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface javax.jms.Topic
        Overrides:
        toString in class WmDestinationImpl