Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
As discussed on the mailing list, the ResourceCollectionManager should be a plain OSGi service. As each method takes a Resource as an argument, each method gets indirectly a resource resolver, so there is no need for the manager to keep a reference to the resource resolver.
For convenience, supporting the adapter pattern resource resolver -> resource collection manager makes sense.
The only method we have to remove is the getResourceResolver() method from the manager