| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"> |
| |
| <!-- system properties --> |
| <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]" /> |
| |
| <reference id="featuresService" interface="org.apache.karaf.features.FeaturesService"/> |
| |
| <!-- Core Cellar MBean --> |
| <bean id="cellarMBean" class="org.apache.karaf.cellar.hazelcast.management.internal.CellarMBeanImpl"> |
| <property name="bundleContext" ref="blueprintBundleContext"/> |
| <property name="clusterManager" ref="clusterManager"/> |
| <property name="groupManager" ref="groupManager"/> |
| <property name="executionContext" ref="executionContext"/> |
| </bean> |
| <service ref="cellarMBean" auto-export="interfaces"> |
| <service-properties> |
| <entry key="jmx.objectname" value="org.apache.karaf.cellar:type=core,name=$[karaf.name]"/> |
| </service-properties> |
| </service> |
| |
| <!-- Cellar Node MBean --> |
| <bean id="cellarNodeMBean" class="org.apache.karaf.cellar.hazelcast.management.internal.CellarNodeMBeanImpl"> |
| <property name="clusterManager" ref="clusterManager"/> |
| <property name="executionContext" ref="executionContext"/> |
| </bean> |
| <service ref="cellarNodeMBean" auto-export="interfaces"> |
| <service-properties> |
| <entry key="jmx.objectname" value="org.apache.karaf.cellar:type=node,name=$[karaf.name]"/> |
| </service-properties> |
| </service> |
| |
| <!-- Cellar Cluster Group MBean --> |
| <bean id="cellarGroupMBean" class="org.apache.karaf.cellar.hazelcast.management.internal.CellarGroupMBeanImpl"> |
| <property name="clusterManager" ref="clusterManager"/> |
| <property name="executionContext" ref="executionContext"/> |
| <property name="groupManager" ref="groupManager"/> |
| </bean> |
| <service ref="cellarGroupMBean" auto-export="interfaces"> |
| <service-properties> |
| <entry key="jmx.objectname" value="org.apache.karaf.cellar:type=group,name=$[karaf.name]"/> |
| </service-properties> |
| </service> |
| |
| </blueprint> |