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 RootcreateReadOnlyRoot(@NotNull Root root) Deprecated.static @NotNull RootcreateReadOnlyRoot(@NotNull NodeState rootState) Deprecated.static @NotNull RootcreateSystemRoot(@NotNull NodeStore store, @Nullable CommitHook hook, @Nullable String workspaceName, @Nullable SecurityProvider securityProvider, @Nullable org.apache.jackrabbit.oak.query.QueryEngineSettings queryEngineSettings, @Nullable QueryIndexProvider indexProvider) Deprecated.with Oak 1.7.2 due to the usage of deprecatedQueryEngineSettingsstatic @NotNull RootcreateSystemRoot(@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 org.apache.jackrabbit.oak.query.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.
-
RootProviderinstead