Class DefaultRootProvider<T>

java.lang.Object
io.micronaut.eclipsestore.DefaultRootProvider<T>
Type Parameters:
T - The Root Instance Type
All Implemented Interfaces:
RootProvider<T>

@EachBean(org.eclipse.store.storage.types.StorageManager.class) public class DefaultRootProvider<T> extends Object implements RootProvider<T>
Creates a bean of type RootProvider for each StorageManager.
  • Constructor Details

    • DefaultRootProvider

      public DefaultRootProvider(org.eclipse.store.storage.types.StorageManager storageManager)
      Parameters:
      storageManager - StorageManager
  • Method Details

    • root

      public T root()
      Specified by:
      root in interface RootProvider<T>
      Returns:
      Root Instance.