java.lang.Object
org.apache.jackrabbit.oak.plugins.tree.factories.RootFactory

public final class RootFactory extends Object
Deprecated.
Please use RootProvider instead
Factory to obtain immutable Root objects.
  • Method Details

    • createReadOnlyRoot

      @NotNull public static @NotNull Root createReadOnlyRoot(@NotNull @NotNull NodeState rootState)
      Deprecated.
    • createReadOnlyRoot

      @NotNull public static @NotNull Root createReadOnlyRoot(@NotNull @NotNull Root root)
      Deprecated.
    • createSystemRoot

      @NotNull public static @NotNull Root createSystemRoot(@NotNull @NotNull NodeStore store, @Nullable @Nullable CommitHook hook, @Nullable @Nullable String workspaceName, @Nullable @Nullable SecurityProvider securityProvider, @Nullable @Nullable QueryEngineSettings queryEngineSettings, @Nullable @Nullable QueryIndexProvider indexProvider)
      Deprecated.
      with Oak 1.7.2 due to the usage of deprecated QueryEngineSettings
    • createSystemRoot

      @NotNull public static @NotNull Root createSystemRoot(@NotNull @NotNull NodeStore store, @Nullable @Nullable CommitHook hook, @Nullable @Nullable String workspaceName, @Nullable @Nullable SecurityProvider securityProvider, @Nullable @Nullable QueryIndexProvider indexProvider)
      Deprecated.