Package org.streamingpool.core.support
Class AbstractStreamSupport
- java.lang.Object
-
- org.streamingpool.core.support.AbstractStreamSupport
-
- All Implemented Interfaces:
StreamSupport
- Direct Known Subclasses:
AbstractStreamTest
public class AbstractStreamSupport extends java.lang.Object implements StreamSupport
This class provides support for the discovery and for providing streams.Dependency injection:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.streamingpool.core.support.StreamSupport
StreamSupport.OngoingLazyProviding<T>, StreamSupport.OngoingProviding<T>
-
-
Constructor Summary
Constructors Constructor Description AbstractStreamSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> org.reactivestreams.Publisher<T>discover(StreamId<T> id)InstrumentationServiceinstrumentationService()<T> StreamSupport.OngoingProviding<T>provide(org.reactivestreams.Publisher<T> reactStream)<T> StreamSupport.OngoingLazyProviding<T>provide(StreamCreator<T> reactStream)ProvidingServiceprovidingService()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.streamingpool.core.support.StreamSupport
getAncestorsFrom
-
-
-
-
Method Detail
-
discover
public <T> org.reactivestreams.Publisher<T> discover(StreamId<T> id)
- Specified by:
discoverin interfaceStreamSupport
-
provide
public <T> StreamSupport.OngoingProviding<T> provide(org.reactivestreams.Publisher<T> reactStream)
- Specified by:
providein interfaceStreamSupport
-
provide
public <T> StreamSupport.OngoingLazyProviding<T> provide(StreamCreator<T> reactStream)
- Specified by:
providein interfaceStreamSupport
-
providingService
public ProvidingService providingService()
- Specified by:
providingServicein interfaceStreamSupport
-
instrumentationService
public InstrumentationService instrumentationService()
- Specified by:
instrumentationServicein interfaceStreamSupport
-
-