[
https://issues.apache.org/jira/browse/OAK-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller updated OAK-11601:
---------------------------------
Description:
oak-core:
{noformat}
package org.apache.jackrabbit.oak.plugins.tree.factories;
/**
* Factory to obtain immutable {@code Root} objects.
*
* @deprecated Please use {@code RootProvider} instead
*/
public final class RootFactory {
{noformat}
But RootProvider is an interface, and the only(?) implementation just calls
this class as well.
This was deprecated in OAK-7015 but I don't see why exactly, and what would be
the real replacement.
TreeFactory seems similar.
Both RootFactory and TreeFactory are widely used. It seems before we deprecate
things, we should have a good replacment.
was:
oak-core:
{noformat}
package org.apache.jackrabbit.oak.plugins.tree.factories;
/**
* Factory to obtain immutable {@code Root} objects.
*
* @deprecated Please use {@code RootProvider} instead
*/
public final class RootFactory {
{noformat}
But RootProvider is an interface, and the only(?) implementation just calls
this class as well.
This was deprecated in OAK-7015 but I don't see why exactly, and what would be
the real replacement.
TreeFactory seems similar.
> Un-deprecate required parts
> ---------------------------
>
> Key: OAK-11601
> URL: https://issues.apache.org/jira/browse/OAK-11601
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Thomas Mueller
> Priority: Major
>
> oak-core:
> {noformat}
> package org.apache.jackrabbit.oak.plugins.tree.factories;
> /**
> * Factory to obtain immutable {@code Root} objects.
> *
> * @deprecated Please use {@code RootProvider} instead
> */
> public final class RootFactory {
> {noformat}
> But RootProvider is an interface, and the only(?) implementation just calls
> this class as well.
> This was deprecated in OAK-7015 but I don't see why exactly, and what would
> be the real replacement.
> TreeFactory seems similar.
> Both RootFactory and TreeFactory are widely used. It seems before we
> deprecate things, we should have a good replacment.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)