incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1479987 - in /sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection: ResourceCollectionManager.java impl/ResourceCollectionManagerImpl.java
Date Tue, 07 May 2013 17:22:46 GMT
Author: cziegeler
Date: Tue May  7 17:22:45 2013
New Revision: 1479987

URL: http://svn.apache.org/r1479987
Log:
SLING-2860 :  Make ResourceCollectionManager an OSGi service 

Modified:
    sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/ResourceCollectionManager.java
    sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionManagerImpl.java

Modified: sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/ResourceCollectionManager.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/ResourceCollectionManager.java?rev=1479987&r1=1479986&r2=1479987&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/ResourceCollectionManager.java
(original)
+++ sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/ResourceCollectionManager.java
Tue May  7 17:22:45 2013
@@ -29,7 +29,8 @@ import org.apache.sling.api.resource.Res
  * The <code>ResourceCollectionManager<code> defines the API to get, create and
delete
  * resource collections {@link org.apache.sling.resource.collection.ResourceCollection}.
  *
- * A ResourceCollectionManager instance can be retrieved by adapting a {@link ResourceResolver}.
+ * The ResourceCollectionManager service can be retrieved by looking it up from the
+ * service registry or by adapting a {@link ResourceResolver}.
  */
 public interface ResourceCollectionManager {
 

Modified: sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionManagerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionManagerImpl.java?rev=1479987&r1=1479986&r2=1479987&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionManagerImpl.java
(original)
+++ sling/trunk/contrib/extensions/collection/src/main/java/org/apache/sling/resource/collection/impl/ResourceCollectionManagerImpl.java
Tue May  7 17:22:45 2013
@@ -26,6 +26,7 @@ import org.apache.felix.scr.annotations.
 import org.apache.felix.scr.annotations.Service;
 import org.apache.sling.api.resource.PersistenceException;
 import org.apache.sling.api.resource.Resource;
+import org.apache.sling.api.resource.ResourceResolver;
 import org.apache.sling.jcr.resource.JcrResourceConstants;
 import org.apache.sling.resource.collection.ResourceCollection;
 import org.apache.sling.resource.collection.ResourceCollectionManager;
@@ -37,7 +38,8 @@ import org.slf4j.LoggerFactory;
  * Implements <code>ResourceCollectionManger</code> interface. And provides
  * create, delete, get apis for ResourceCollection.
  *
- * A ResourceCollectionManager instance can be retrieved by adapting ResourceResolver.
+ * This service can be retrieved by looking it up from the
+ * service registry or by adapting a {@link ResourceResolver}.
  */
 @Component
 @Service(value=ResourceCollectionManager.class)



Mime
View raw message