You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2010/07/12 17:03:48 UTC
svn commit: r963307 - in
/servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources:
META-INF/ OSGI-INF/ OSGI-INF/blueprint/ OSGI-INF/blueprint/servicemix-vfs.xml
Author: gnodet
Date: Mon Jul 12 15:03:47 2010
New Revision: 963307
URL: http://svn.apache.org/viewvc?rev=963307&view=rev
Log:
SMXCOMP-777: support for blueprint
Added:
servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/
servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/
servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml (with props)
Removed:
servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/META-INF/
Added: servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml
URL: http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml?rev=963307&view=auto
==============================================================================
--- servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml (added)
+++ servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml Mon Jul 12 15:03:47 2010
@@ -0,0 +1,75 @@
+<?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 vfs to You under the Apache License, Version 2.0
+ (the "License"); you may not use this vfs 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:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
+ xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">
+
+ <bean id="servicemix-vfs" class="org.apache.servicemix.vfs.VFSComponent">
+ <property name="executorFactory" ref="executorFactory" />
+ </bean>
+
+ <bean id="executorFactory" class="org.apache.servicemix.executors.impl.ExecutorFactoryImpl">
+ <property name="defaultConfig">
+ <bean class="org.apache.servicemix.executors.impl.ExecutorConfig">
+ <property name="corePoolSize" value="${threadPoolCorePoolSize}"/>
+ <property name="maximumPoolSize" value="${threadPoolMaximumPoolSize}"/>
+ <property name="queueSize" value="${threadPoolQueueSize}"/>
+ </bean>
+ </property>
+ </bean>
+
+ <bean id="endpoint-tracker" class="org.apache.servicemix.common.osgi.EndpointTracker">
+ <property name="component" ref="servicemix-vfs" />
+ </bean>
+
+ <reference-list id="endpoints"
+ interface="org.apache.servicemix.common.osgi.EndpointWrapper"
+ availability="optional">
+ <reference-listener ref="endpoint-tracker" bind-method="register" unbind-method="unregister" />
+ </reference-list>
+
+ <service ref="servicemix-vfs" interface="javax.jbi.component.Component">
+ <service-properties>
+ <entry key="NAME" value="servicemix-vfs" />
+ <entry key="TYPE" value="service-engine" />
+ </service-properties>
+ </service>
+
+ <service interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace" value="http://servicemix.apache.org/vfs/1.0"/>
+ </service-properties>
+ <bean class="org.apache.xbean.blueprint.context.impl.XBeanNamespaceHandler">
+ <argument value="http://servicemix.apache.org/vfs/1.0"/>
+ <argument value="servicemix-vfs.xsd"/>
+ <argument ref="blueprintBundle"/>
+ <argument value="META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/vfs/1.0"/>
+ </bean>
+ </service>
+
+ <cm:property-placeholder persistent-id="org.apache.servicemix.components.vfs">
+ <cm:default-properties>
+ <cm:property name="threadPoolCorePoolSize" value="8"/>
+ <cm:property name="threadPoolMaximumPoolSize" value="32"/>
+ <cm:property name="threadPoolQueueSize" value="256"/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
+</blueprint>
Propchange: servicemix/components/bindings/servicemix-vfs/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-vfs.xml
------------------------------------------------------------------------------
svn:executable = *