Class InternalChannelRegistry
- java.lang.Object
-
- io.smallrye.reactive.messaging.providers.impl.InternalChannelRegistry
-
- All Implemented Interfaces:
ChannelRegistry
@ApplicationScoped public class InternalChannelRegistry extends Object implements ChannelRegistry
-
-
Constructor Summary
Constructors Constructor Description InternalChannelRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Emitter<?>
getEmitter(String name)
Set<String>
getEmitterNames()
Map<String,Boolean>
getIncomingChannels()
Set<String>
getIncomingNames()
MutinyEmitter<?>
getMutinyEmitter(String name)
Map<String,Boolean>
getOutgoingChannels()
Set<String>
getOutgoingNames()
List<org.reactivestreams.Publisher<? extends Message<?>>>
getPublishers(String name)
List<org.reactivestreams.Subscriber<? extends Message<?>>>
getSubscribers(String name)
void
register(String name, MutinyEmitter<?> emitter)
void
register(String name, Emitter<?> emitter)
org.reactivestreams.Publisher<? extends Message<?>>
register(String name, org.reactivestreams.Publisher<? extends Message<?>> stream, boolean broadcast)
org.reactivestreams.Subscriber<? extends Message<?>>
register(String name, org.reactivestreams.Subscriber<? extends Message<?>> subscriber, boolean merge)
-
-
-
Method Detail
-
register
public org.reactivestreams.Publisher<? extends Message<?>> register(String name, org.reactivestreams.Publisher<? extends Message<?>> stream, boolean broadcast)
- Specified by:
register
in interfaceChannelRegistry
-
register
public org.reactivestreams.Subscriber<? extends Message<?>> register(String name, org.reactivestreams.Subscriber<? extends Message<?>> subscriber, boolean merge)
- Specified by:
register
in interfaceChannelRegistry
-
register
public void register(String name, Emitter<?> emitter)
- Specified by:
register
in interfaceChannelRegistry
-
register
public void register(String name, MutinyEmitter<?> emitter)
- Specified by:
register
in interfaceChannelRegistry
-
getPublishers
public List<org.reactivestreams.Publisher<? extends Message<?>>> getPublishers(String name)
- Specified by:
getPublishers
in interfaceChannelRegistry
-
getEmitter
public Emitter<?> getEmitter(String name)
- Specified by:
getEmitter
in interfaceChannelRegistry
-
getMutinyEmitter
public MutinyEmitter<?> getMutinyEmitter(String name)
- Specified by:
getMutinyEmitter
in interfaceChannelRegistry
-
getSubscribers
public List<org.reactivestreams.Subscriber<? extends Message<?>>> getSubscribers(String name)
- Specified by:
getSubscribers
in interfaceChannelRegistry
-
getIncomingNames
public Set<String> getIncomingNames()
- Specified by:
getIncomingNames
in interfaceChannelRegistry
-
getOutgoingNames
public Set<String> getOutgoingNames()
- Specified by:
getOutgoingNames
in interfaceChannelRegistry
-
getEmitterNames
public Set<String> getEmitterNames()
- Specified by:
getEmitterNames
in interfaceChannelRegistry
-
getIncomingChannels
public Map<String,Boolean> getIncomingChannels()
- Specified by:
getIncomingChannels
in interfaceChannelRegistry
-
getOutgoingChannels
public Map<String,Boolean> getOutgoingChannels()
- Specified by:
getOutgoingChannels
in interfaceChannelRegistry
-
-