Class RootFactory
java.lang.Object
org.apache.jackrabbit.oak.plugins.tree.factories.RootFactory
Deprecated.
Factory to obtain immutable
Root
objects.-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Root
createReadOnlyRoot
(@NotNull Root root) Deprecated.static @NotNull Root
createReadOnlyRoot
(@NotNull NodeState rootState) Deprecated.static @NotNull Root
createSystemRoot
(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryEngineSettings queryEngineSettings, @Nullable QueryIndexProvider indexProvider) Deprecated.with Oak 1.7.2 due to the usage of deprecatedQueryEngineSettings
static @NotNull Root
createSystemRoot
(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable QueryIndexProvider indexProvider) Deprecated.
-
Method Details
-
createReadOnlyRoot
Deprecated. -
createReadOnlyRoot
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 deprecatedQueryEngineSettings
-
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.
-
RootProvider
instead