@Factory
public class StorageManagerFactory
extends java.lang.Object
Constructor and Description |
---|
StorageManagerFactory(io.micronaut.context.BeanContext beanContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
one.microstream.storage.types.StorageManager |
createStorageManager(one.microstream.storage.embedded.types.EmbeddedStorageFoundation<?> foundation,
java.lang.String name) |
public StorageManagerFactory(io.micronaut.context.BeanContext beanContext)
beanContext
- Bean Context.@EachBean(value=one.microstream.storage.embedded.types.EmbeddedStorageFoundation.class) @Bean(preDestroy="shutdown") @Singleton public one.microstream.storage.types.StorageManager createStorageManager(one.microstream.storage.embedded.types.EmbeddedStorageFoundation<?> foundation, @Parameter java.lang.String name)
foundation
- EmbeddedStorageFoundationname
- Name qualifier