Package org.streamingpool.core.conf
Class EmbeddedPoolConfiguration
- java.lang.Object
-
- org.streamingpool.core.conf.EmbeddedPoolConfiguration
-
@Configuration @Import({TestPoolConfiguration.class,DefaultPoolConfiguration.class}) public class EmbeddedPoolConfiguration extends java.lang.ObjectThe spring configuration which shall be used in any application that will have the spring pool embedded. It provides a pool which will pick up the following beans automatically:Dependency injection:
TypedStreamFactory: Any additional Stream factory will be automatically plugged into the pool to be used for stream discovery.
-
-
Constructor Summary
Constructors Constructor Description EmbeddedPoolConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstrumentationServiceinstrumentationService(PoolContent content)LocalPoolpool(PoolConfiguration poolConfiguration, PoolContent content)PoolContentpoolContent()
-
-
-
Method Detail
-
poolContent
@Bean public PoolContent poolContent()
-
instrumentationService
@Bean public InstrumentationService instrumentationService(PoolContent content)
-
pool
@Bean public LocalPool pool(PoolConfiguration poolConfiguration, PoolContent content)
-
-