This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-mongodb.git
commit 0fada4c33c1e1b59c0a481c1974fa3f8084c1f2f Author: Carsten Ziegeler <[email protected]> AuthorDate: Wed Aug 1 18:51:27 2012 +0000 New MongoDB resource provider git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1368192 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java | 3 +++ src/main/resources/OSGI-INF/metatype/metatype.properties | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java b/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java index 7ccbaf1..8bea67a 100644 --- a/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java +++ b/src/main/java/org/apache/sling/mongodb/impl/MongoDBResourceProvider.java @@ -214,6 +214,9 @@ public class MongoDBResourceProvider implements ResourceProvider, ModifyingResou return null; } + /** + * Inform about changes of a resource. + */ public void changed(final MongoDBResource resource) { this.deletedResources.remove(resource.getPath()); this.changedResources.put(resource.getPath(), resource); diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties index 4d380cc..4771886 100644 --- a/src/main/resources/OSGI-INF/metatype/metatype.properties +++ b/src/main/resources/OSGI-INF/metatype/metatype.properties @@ -21,7 +21,7 @@ # # This file contains localization strings for configuration labels and # descriptions as used in the metatype.xml descriptor generated by the -# the SCR plugin +# the Apache Felix SCR plugin # # Localizations for FsResourceProvider configuration @@ -32,6 +32,7 @@ factory.description = Configure an instance of the MongoDB \ provider.roots.name = Provider Root provider.roots.description = Location in the virtual resource tree where the \ resources are mapped in. This property must not be an empty string. + host.name = MongoDB Host host.description = The host to connect to. @@ -40,3 +41,6 @@ port.description = The port to connect to. db.name MongoDB Database db.description = The database to use. + +filter.collections.name = Filter Collections +filter.collections.description = These collections are not available as resources. \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
