jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r904417 - in /jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype: ./ metatype.properties metatype.xml
Date Fri, 29 Jan 2010 08:38:15 GMT
Author: fmeschbe
Date: Fri Jan 29 08:38:13 2010
New Revision: 904417

URL: http://svn.apache.org/viewvc?rev=904417&view=rev
Log:
Configuration Description for the embedded repository

Added:
    jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/
    jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties
  (with props)
    jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml
  (with props)

Added: jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=904417&view=auto
==============================================================================
--- jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties
(added)
+++ jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties
Fri Jan 29 08:38:13 2010
@@ -0,0 +1,53 @@
+#
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+#
+
+#
+# This file contains localization strings for configuration labels and
+# descriptions as used in the metatype.xml descriptor generated by the
+# the Sling SCR plugin
+
+repository.name = Apache Jackrabbit Embedded JCR Repository
+repository.description = Configuration to launch an embedded JCR Repository \
+ and provide it as a standard JCR Repository and JackrabbitRepository.
+
+# Functionality not provided (yet)
+# autostart.name = Autostart
+# autostart.description = Check to have the embedded JCR repository started as \
+#  soon as the configuration is activated. If not checked, the respository is \
+#  only started when used the first time.
+ 
+home.name = Repository Home
+home.description = Name of a filesystem directory in which to launch the \
+ embedded JCR Repository. The default value is "repository" in the current \
+ working directory.
+
+config.name = Configuration File
+config.description = Filename or URL of the configuration file for the embedded \
+ JCR repository. The name is first checked, whether it points to a readable file. \
+ If not, the name is assumed to be an URL which must be accessible from the \ 
+ Server. If the URL cannot be used, the name is again assumed to be a file \
+ name and a default repository configuration file contained in the Jackrabbit \
+ Core bundle is copied and used. If the name is relative it is resolved relative \
+ to the Repository Home directory. The default value is "repository.xml" \
+ in the Repository Home directory.
+
+name.name = Repository Name
+name.description = The name under which the embedded repository may be \
+ referred if multiple repositories are configured. The default name is the \
+ last segment of the Repository Home field.

Propchange: jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml?rev=904417&view=auto
==============================================================================
--- jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml
(added)
+++ jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml
Fri Jan 29 08:38:13 2010
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<metatype:MetaData xmlns:metatype="http://www.osgi.org/xmlns/metatype/v1.0.0"
+    localization="OSGI-INF/metatype/metatype"
+>
+    <OCD id="org.apache.sling.jcr.jackrabbit.server.SlingServerRepository"
+        name="%repository.name" description="%repository.description"
+    >
+        <AD id="home" type="String" default="repository" name="%home.name"
+            description="%home.description" />
+        <AD id="config" type="String" default="repository.xml" name="%config.name"
+            description="%config.description" />
+        <AD id="name" type="String" default="" name="%name.name"
+            description="%name.description" />
+    </OCD>
+    <Designate
+        pid="org.apache.sling.jcr.jackrabbit.server.SlingServerRepository"
+        factoryPid="org.apache.sling.jcr.jackrabbit.server.SlingServerRepository"
+    >
+        <Object
+            ocdref="org.apache.sling.jcr.jackrabbit.server.SlingServerRepository" />
+    </Designate>
+</metatype:MetaData>

Propchange: jackrabbit/sandbox/jackrabbit2-bundle/jackrabbit-core/src/main/resources/OSGI-INF/metatype/metatype.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message