Package org.streamingpool.core.conf
Class StreamCreatorFactoryConfiguration
- java.lang.Object
-
- org.streamingpool.core.conf.StreamCreatorFactoryConfiguration
-
public class StreamCreatorFactoryConfiguration extends java.lang.ObjectThis configuration can be used together with a pool configuration and provides and additional factory for streams which is based on so-called creators. A stream-creator is useful, if streams shall be created only on the first lookup time and not at the start time of the application context. While creators can be registered at runtime into, this configuration picks up the following beans automatically on startup:Dependency injection:
- All instances of
ImmutableIdentifiedStreamCreator. These are passed on the the created factory and are available for lookups from then on. This mechanism provides a simple way to organize (lazy initializing) streams in spring configurations.
- All instances of
-
-
Constructor Summary
Constructors Constructor Description StreamCreatorFactoryConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreatorStreamFactorycreatorStreamFactory()
-
-
-
Method Detail
-
creatorStreamFactory
@Bean public CreatorStreamFactory creatorStreamFactory()
-
-