You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ha...@apache.org on 2015/11/25 02:55:21 UTC
[11/21] incubator-brooklyn git commit: [BROOKLYN-183] Publish the
management context as an OSGi service
[BROOKLYN-183] Publish the management context as an OSGi service
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/d5e216f0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/d5e216f0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/d5e216f0
Branch: refs/heads/master
Commit: d5e216f007bc2387bc1f01af3ef7a2b02951c155
Parents: ed6f1df
Author: Ciprian Ciubotariu <ch...@gmx.net>
Authored: Thu Nov 19 12:41:42 2015 +0200
Committer: Ciprian Ciubotariu <ch...@gmx.net>
Committed: Thu Nov 19 12:41:42 2015 +0200
----------------------------------------------------------------------
.../resources/OSGI-INF/blueprint/blueprint.xml | 41 ++++++++++++++++++++
1 file changed, 41 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/d5e216f0/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
----------------------------------------------------------------------
diff --git a/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml b/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
new file mode 100644
index 0000000..08dcbe5
--- /dev/null
+++ b/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright 2015 The Apache Software Foundation.
+
+Licensed 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.
+-->
+
+<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
+ xsi:schemaLocation="
+ http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
+ http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd
+ ">
+
+<!-- <cm:property-placeholder persistent-id="org.apache.brooklyn.properties" update-strategy="reload">
+ <cm:default-properties>
+ <cm:property name="some-property" value="${karaf.data}/some-path"/>
+ </cm:default-properties>
+ </cm:property-placeholder>-->
+
+ <bean id="localManagementContextService"
+ class="org.apache.brooklyn.core.mgmt.internal.LocalManagementContext" />
+
+ <service ref="localManagementContextService"
+ interface="org.apache.brooklyn.api.mgmt.ManagementContext" />
+
+<!-- <service ref="localManagementContextService"
+ interface="org.apache.brooklyn.core.mgmt.internal.ManagementContextInternal" />-->
+
+</blueprint>