Interface AmqpResourceParent

    • Method Detail

      • addChildResource

        void addChildResource​(AmqpResource resource)
        Adds the given resource as a child of this resource so that it's lifetime becomes managed by that of its parent.
        Parameters:
        resource - The AmqpResource that is a child of this one.
      • removeChildResource

        void removeChildResource​(AmqpResource resource)
        Removes the given resource from the registered child resources managed by this one.
        Parameters:
        resource - The AmqpResource that is no longer a child of this one.
      • getProvider

        AmqpProvider getProvider()
        Returns:
        a reference to the root AmqpProvider.