Interface JmsResource

    • Method Detail

      • getId

        JmsResourceId getId()
        Returns the assigned resource ID for this JmsResource instance.
        Returns:
        the assigned resource ID for this JmsResource instance.
      • visit

        void visit​(JmsResourceVistor visitor)
            throws Exception
        Allows a visitor object to walk the resources and process them.
        Parameters:
        visitor - The visitor instance that is processing this resource.
        Throws:
        Exception - if an error occurs while visiting this resource.
      • setState

        void setState​(JmsResource.ResourceState state)
        Sets or updates the current state of this resource.
        Parameters:
        state - The new state to apply to this resource.