Interface PulsarListenerContainerRegistry

All Known Implementing Classes:
GenericListenerEndpointRegistry, PulsarListenerEndpointRegistry, ReactivePulsarListenerEndpointRegistry

public interface PulsarListenerContainerRegistry
A registry for containers.
Author:
Christophe Bornet, Soby Chacko
  • Method Details

    • getListenerContainer

      @Nullable MessageListenerContainer getListenerContainer(String id)
      Return the listener container with the specified id or null if no such container exists.
      Parameters:
      id - the id of the container
      Returns:
      the container or null if no container with that id exists
      See Also:
    • getListenerContainerIds

      Set<String> getListenerContainerIds()
      Return the ids of the managed listener container instance(s).
      Returns:
      the ids.
      See Also:
    • getListenerContainers

      Collection<? extends MessageListenerContainer> getListenerContainers()
      Return the managed listener container instance(s).
      Returns:
      the managed listener container instance(s).
      See Also:
    • getAllListenerContainers

      Collection<? extends MessageListenerContainer> getAllListenerContainers()
      Return all listener container instances including those managed by this registry and those declared as beans in the application context. Prototype-scoped containers will be included. Lazy beans that have not yet been created will not be initialized by a call to this method.
      Returns:
      the listener container instance(s).
      See Also: