Class RootFactory
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.tree.factories.RootFactory
-
public final class RootFactory extends Object
Deprecated.Please useRootProvider
insteadFactory to obtain immutableRoot
objects.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static @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 org.apache.jackrabbit.oak.query.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 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 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.
-
-