Package io.micronaut.eclipsestore.conf
Class StorageManagerFactory
java.lang.Object
io.micronaut.eclipsestore.conf.StorageManagerFactory
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Constructor Summary
ConstructorDescriptionStorageManagerFactory
(io.micronaut.context.BeanContext beanContext) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.store.storage.types.StorageManager
createStorageManager
(org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation<?> foundation, String name)
-
Constructor Details
-
StorageManagerFactory
public StorageManagerFactory(io.micronaut.context.BeanContext beanContext) Constructor.- Parameters:
beanContext
- Bean Context.
-
-
Method Details
-
createStorageManager
@EachBean(org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation.class) @Bean(preDestroy="shutdown") @Singleton public org.eclipse.store.storage.types.StorageManager createStorageManager(org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation<?> foundation, @Parameter String name) - Parameters:
foundation
- EmbeddedStorageFoundationname
- Name qualifier- Returns:
- EmbeddedStorageManager
-