Class RootFactory


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

      • 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 java.lang.String workspaceName,
                                                     @Nullable
                                                     @Nullable SecurityProvider securityProvider,
                                                     @Nullable
                                                     @Nullable org.apache.jackrabbit.oak.query.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 java.lang.String workspaceName,
                                                     @Nullable
                                                     @Nullable SecurityProvider securityProvider,
                                                     @Nullable
                                                     @Nullable QueryIndexProvider indexProvider)
        Deprecated.