Package io.micronaut.microstream
Class DefaultRootProvider<T>
java.lang.Object
io.micronaut.microstream.DefaultRootProvider<T>
- Type Parameters:
T
- The Root Instance Type
- All Implemented Interfaces:
RootProvider<T>
@EachBean(one.microstream.storage.types.StorageManager.class)
public class DefaultRootProvider<T>
extends Object
implements RootProvider<T>
Creates a bean of type
RootProvider
for each StorageManager
.-
Constructor Summary
ConstructorDescriptionDefaultRootProvider
(one.microstream.storage.types.StorageManager storageManager) -
Method Summary
-
Constructor Details
-
DefaultRootProvider
public DefaultRootProvider(one.microstream.storage.types.StorageManager storageManager) - Parameters:
storageManager
- StorageManager
-
-
Method Details
-
root
- Specified by:
root
in interfaceRootProvider<T>
- Returns:
- Root Instance.
-