Interface PulsarListenerContainerRegistry
- All Known Implementing Classes:
GenericListenerEndpointRegistry
,PulsarListenerEndpointRegistry
,ReactivePulsarListenerEndpointRegistry
public interface PulsarListenerContainerRegistry
A registry for containers.
- Author:
- Christophe Bornet, Soby Chacko
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends MessageListenerContainer>
Return all listener container instances including those managed by this registry and those declared as beans in the application context.Return the listener container with the specified id ornull
if no such container exists.Return the ids of the managed listener container instance(s).Collection<? extends MessageListenerContainer>
Return the managed listener container instance(s).
-
Method Details
-
getListenerContainer
Return the listener container with the specified id ornull
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
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:
-