Author: jbonofre
Date: Wed Jul 28 08:07:13 2010
New Revision: 979978
URL: http://svn.apache.org/viewvc?rev=979978&view=rev
Log:
Use the component normalized convention and blueprint.
Added:
servicemix/components/bindings/servicemix-ldap/trunk/eclipse-classes/
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml
(with props)
Removed:
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/META-INF/
Modified:
servicemix/components/bindings/servicemix-ldap/trunk/pom.xml
Modified: servicemix/components/bindings/servicemix-ldap/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-ldap/trunk/pom.xml?rev=979978&r1=979977&r2=979978&view=diff
==============================================================================
--- servicemix/components/bindings/servicemix-ldap/trunk/pom.xml (original)
+++ servicemix/components/bindings/servicemix-ldap/trunk/pom.xml Wed Jul 28
08:07:13 2010
@@ -32,12 +32,7 @@
<version>2010.02-SNAPSHOT</version>
<packaging>jbi-component</packaging>
- <name>ServiceMix :: LDAP</name>
- <description>
- LDAP Binding Component
-
- This component provides interfaces to communicate with a LDAP server.
- </description>
+ <name>Apache ServiceMix :: Components :: LDAP Binding Component
${project.version}</name>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-ldap/trunk</connection>
Added:
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml
URL:
http://svn.apache.org/viewvc/servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml?rev=979978&view=auto
==============================================================================
---
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml
(added)
+++
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml
Wed Jul 28 08:07:13 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 cxfbc to You under the Apache License, Version 2.0
+ (the "License"); you may not use this cxfbc 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-ldap"
class="org.apache.servicemix.ldap.LdapComponent">
+ <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-ldap" />
+ </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-ldap" interface="javax.jbi.component.Component">
+ <service-properties>
+ <entry key="NAME" value="servicemix-ldap" />
+ <entry key="TYPE" value="binding-component" />
+ </service-properties>
+ </service>
+
+ <service interface="org.apache.aries.blueprint.NamespaceHandler">
+ <service-properties>
+ <entry key="osgi.service.blueprint.namespace"
value="http://servicemix.apache.org/ldap/1.0" />
+ </service-properties>
+ <bean
class="org.apache.xbean.blueprint.context.impl.XBeanNamespaceHandler">
+ <argument value="http://servicemix.apache.org/ldap/1.0" />
+ <argument value="servicemix-ldap.xsd" />
+ <argument ref="blueprintBundle" />
+ <argument
value="META-INF/services/org/apache/xbean/spring/http/servicemix.apache.org/ldap/1.0"
/>
+ </bean>
+ </service>
+
+ <cm:property-placeholder
persistent-id="org.apache.servicemix.components.ldap">
+ <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>
\ No newline at end of file
Propchange:
servicemix/components/bindings/servicemix-ldap/trunk/src/main/resources/OSGI-INF/blueprint/servicemix-ldap.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain