You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by jo...@apache.org on 2011/03/23 05:28:43 UTC
svn commit: r1084474 [1/4] - in /cxf/sandbox/cxf-blueprint: ./ core/
core/src/ core/src/main/ core/src/main/java/ core/src/main/java/org/
core/src/main/java/org/apache/ core/src/main/java/org/apache/cxf/
core/src/main/java/org/apache/cxf/blueprint/ cor...
Author: joed
Date: Wed Mar 23 04:28:40 2011
New Revision: 1084474
URL: http://svn.apache.org/viewvc?rev=1084474&view=rev
Log:
CXF Blueprint NS Handlers for jaxws:endpoint/server
jaxrs:server
Added:
cxf/sandbox/cxf-blueprint/core/
cxf/sandbox/cxf-blueprint/core/core.iml
cxf/sandbox/cxf-blueprint/core/cxf-blueprint-core.iml
cxf/sandbox/cxf-blueprint/core/pom.xml
cxf/sandbox/cxf-blueprint/core/src/
cxf/sandbox/cxf-blueprint/core/src/main/
cxf/sandbox/cxf-blueprint/core/src/main/java/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/BaseCxfParser.java
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBundleManager.java
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBusRegistry.java
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/NSUtils.java
cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/SimpleCxfBusRegistry.java
cxf/sandbox/cxf-blueprint/core/src/main/resources/
cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/
cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/
cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
cxf/sandbox/cxf-blueprint/core/src/main/resources/cxf-beans.xsd
cxf/sandbox/cxf-blueprint/core/src/test/
cxf/sandbox/cxf-blueprint/core/src/test/java/
cxf/sandbox/cxf-blueprint/core/target/
cxf/sandbox/cxf-blueprint/core/target/cxf-blueprint-core-2.4.0-SNAPSHOT.jar (with props)
cxf/sandbox/cxf-blueprint/core/target/cxf.osgi.version.txt
cxf/sandbox/cxf-blueprint/core/target/generated-sources/
cxf/sandbox/cxf-blueprint/core/target/generated-sources/annotations/
cxf/sandbox/cxf-blueprint/cxf-blueprint.iml
cxf/sandbox/cxf-blueprint/cxf-blueprint.ipr
cxf/sandbox/cxf-blueprint/jaxrs/
cxf/sandbox/cxf-blueprint/jaxrs/cxf-blueprint-jaxrs.iml
cxf/sandbox/cxf-blueprint/jaxrs/jaxrs.iml
cxf/sandbox/cxf-blueprint/jaxrs/pom.xml
cxf/sandbox/cxf-blueprint/jaxrs/src/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/jaxrs/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/jaxrs/BlueprintResourceFactory.java
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/jaxrs/JaxRsNameSpaceHandler.java
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/jaxrs/JaxrsServerParser.java
cxf/sandbox/cxf-blueprint/jaxrs/src/main/java/org/apache/cxf/blueprint/jaxrs/MetaDataBeans.java
cxf/sandbox/cxf-blueprint/jaxrs/src/main/resources/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/resources/OSGI-INF/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/resources/OSGI-INF/blueprint/
cxf/sandbox/cxf-blueprint/jaxrs/src/main/resources/OSGI-INF/blueprint/jaxrs.xml
cxf/sandbox/cxf-blueprint/jaxrs/src/main/resources/jaxrs.xsd
cxf/sandbox/cxf-blueprint/jaxrs/src/test/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/cxf/blueprint/jaxrs/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/cxf/blueprint/jaxrs/BaseNsHandlerSetup.java
cxf/sandbox/cxf-blueprint/jaxrs/src/test/java/org/apache/cxf/blueprint/jaxrs/NsHandlerTest.java
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/apache/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/apache/cxf/blueprint/jaxrs/
cxf/sandbox/cxf-blueprint/jaxrs/src/test/resources/org/apache/cxf/blueprint/jaxrs/cxf.xml
cxf/sandbox/cxf-blueprint/jaxrs/target/
cxf/sandbox/cxf-blueprint/jaxrs/target/cxf-blueprint-jaxrs-2.4.0-SNAPSHOT.jar (with props)
cxf/sandbox/cxf-blueprint/jaxrs/target/cxf.osgi.version.txt
cxf/sandbox/cxf-blueprint/jaxrs/target/generated-sources/
cxf/sandbox/cxf-blueprint/jaxrs/target/generated-sources/annotations/
cxf/sandbox/cxf-blueprint/jaxrs/target/generated-sources/test-annotations/
cxf/sandbox/cxf-blueprint/jaxws/
cxf/sandbox/cxf-blueprint/jaxws/cxf-blueprint-jaxws.iml
cxf/sandbox/cxf-blueprint/jaxws/jaxws.iml
cxf/sandbox/cxf-blueprint/jaxws/pom.xml
cxf/sandbox/cxf-blueprint/jaxws/src/
cxf/sandbox/cxf-blueprint/jaxws/src/main/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/EndpointDefinitionParser.java
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/JaxWsNameSpaceHandler.java
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/MetaDataBeans.java
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/ServerDefinitionParser.java
cxf/sandbox/cxf-blueprint/jaxws/src/main/java/org/apache/cxf/blueprint/jaxws/WsAddressingHandler.java
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/OSGI-INF/blueprint/jaxws.xml
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/jaxws.xsd
cxf/sandbox/cxf-blueprint/jaxws/src/main/resources/ws-addr-conf.xsd
cxf/sandbox/cxf-blueprint/jaxws/src/test/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/BaseNsHandlerSetup.java
cxf/sandbox/cxf-blueprint/jaxws/src/test/java/org/apache/cxf/blueprint/jaxws/NsHandlerTest.java
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/
cxf/sandbox/cxf-blueprint/jaxws/src/test/resources/org/apache/cxf/blueprint/jaxws/cxf.xml
cxf/sandbox/cxf-blueprint/jaxws/target/
cxf/sandbox/cxf-blueprint/jaxws/target/cxf-blueprint-jaxws-2.4.0-SNAPSHOT.jar (with props)
cxf/sandbox/cxf-blueprint/jaxws/target/cxf.osgi.version.txt
cxf/sandbox/cxf-blueprint/jaxws/target/generated-sources/
cxf/sandbox/cxf-blueprint/jaxws/target/generated-sources/annotations/
cxf/sandbox/cxf-blueprint/jaxws/target/generated-sources/test-annotations/
cxf/sandbox/cxf-blueprint/pom.xml
Added: cxf/sandbox/cxf-blueprint/core/core.iml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/core.iml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/core.iml (added)
+++ cxf/sandbox/cxf-blueprint/core/core.iml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
+ <excludeFolder url="file://$MODULE_DIR$/target/classes" />
+ <excludeFolder url="file://$MODULE_DIR$/target/surefire" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="Maven: org.apache.cxf:cxf-bundle:2.3.2-fuse-00-00" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.ws.commons.schema:XmlSchema:1.4.5" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.0.8" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.0.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-annotation_1.0_spec:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.velocity:velocity:1.6.4" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
+ <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.5" level="project" />
+ <orderEntry type="library" name="Maven: oro:oro:2.0.8" level="project" />
+ <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.2" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-xjc:2.2.1.1" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.neethi:neethi:2.0.4" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: commons-logging:commons-logging:99.0-does-not-exist" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.soap:saaj-api:1.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:1.1.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:1.0" level="project" />
+ <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
+ <orderEntry type="library" name="Maven: asm:asm:3.3" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-asm:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.springframework:spring-aop:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.messaging.saaj:saaj-impl:1.3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
+ <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.4.0" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.5.10" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:1.0" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: commons-pool:commons-pool:1.5.4" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-jms:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jra:jra:1.0-alpha-4" level="project" />
+ <orderEntry type="library" name="Maven: rhino:js:1.7R2" level="project" />
+ <orderEntry type="library" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jettison:jettison:1.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.ws.security:wss4j:1.5.8" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.santuario:xmlsec:1.4.4" level="project" />
+ <orderEntry type="library" name="Maven: xalan:xalan:2.7.1" level="project" />
+ <orderEntry type="library" name="Maven: xalan:serializer:2.7.1" level="project" />
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.bouncycastle:bcprov-jdk15:1.45" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.osgi:org.osgi.core:4.2.0" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.osgi:org.osgi.compendium:4.2.0" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.blueprint:org.apache.aries.blueprint:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries:org.apache.aries.util:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.testsupport:org.apache.aries.testsupport.unit:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.proxy:org.apache.aries.proxy.api:0.3" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
+ <orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
+ <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
+ </component>
+</module>
+
Added: cxf/sandbox/cxf-blueprint/core/cxf-blueprint-core.iml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/cxf-blueprint-core.iml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/cxf-blueprint-core.iml (added)
+++ cxf/sandbox/cxf-blueprint/core/cxf-blueprint-core.iml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
+ <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
+ <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/annotations" isTestSource="false" />
+ <excludeFolder url="file://$MODULE_DIR$/target/classes" />
+ <excludeFolder url="file://$MODULE_DIR$/target/surefire" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="library" name="Maven: org.apache.cxf:cxf-bundle:2.3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.ws.commons.schema:XmlSchema:1.4.7" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.0.8" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.0.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:1.0.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-annotation_1.0_spec:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.velocity:velocity:1.6.4" level="project" />
+ <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
+ <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.5" level="project" />
+ <orderEntry type="library" name="Maven: oro:oro:2.0.8" level="project" />
+ <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.2" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-xjc:2.2.1.1" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.2.1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.neethi:neethi:2.0.4" level="project" />
+ <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.soap:saaj-api:1.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec:1.1.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jaxws_2.2_spec:1.0" level="project" />
+ <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
+ <orderEntry type="library" name="Maven: asm:asm:3.3" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-web:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-beans:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-core:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-asm:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-context:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-aop:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-expression:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: com.sun.xml.messaging.saaj:saaj-impl:1.3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.2" level="project" />
+ <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
+ <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.4.0" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-server:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-continuation:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-http:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-io:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.eclipse.jetty:jetty-util:7.2.2.v20101205" level="project" />
+ <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.5.10" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-servlet_3.0_spec:1.0" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-jms_1.1_spec:1.1.1" level="project" />
+ <orderEntry type="library" scope="RUNTIME" name="Maven: commons-pool:commons-pool:1.5.5" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-jms:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.springframework:spring-tx:3.0.5.RELEASE" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jra:jra:1.0-alpha-4" level="project" />
+ <orderEntry type="library" name="Maven: rhino:js:1.7R2" level="project" />
+ <orderEntry type="library" name="Maven: javax.ws.rs:jsr311-api:1.1.1" level="project" />
+ <orderEntry type="library" name="Maven: org.codehaus.jettison:jettison:1.2" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.ws.security:wss4j:1.5.11" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.santuario:xmlsec:1.4.4" level="project" />
+ <orderEntry type="library" name="Maven: xalan:xalan:2.7.1" level="project" />
+ <orderEntry type="library" name="Maven: xalan:serializer:2.7.1" level="project" />
+ <orderEntry type="library" scope="RUNTIME" name="Maven: org.bouncycastle:bcprov-jdk15:1.45" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.osgi:org.osgi.core:4.2.0" level="project" />
+ <orderEntry type="library" scope="PROVIDED" name="Maven: org.osgi:org.osgi.compendium:4.2.0" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.blueprint:org.apache.aries.blueprint:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries:org.apache.aries.util:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.testsupport:org.apache.aries.testsupport.unit:0.3" level="project" />
+ <orderEntry type="library" name="Maven: org.apache.aries.proxy:org.apache.aries.proxy.api:0.3" level="project" />
+ <orderEntry type="library" name="Maven: javax.xml.stream:stax-api:1.0-2" level="project" />
+ <orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
+ <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8" level="project" />
+ </component>
+</module>
+
Added: cxf/sandbox/cxf-blueprint/core/pom.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/pom.xml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/pom.xml (added)
+++ cxf/sandbox/cxf-blueprint/core/pom.xml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,89 @@
+<?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.
+ ~ */
+ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>cxf-blueprint</artifactId>
+ <groupId>org.apache.cxf.blueprint</groupId>
+ <version>2.4.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <artifactId>cxf-blueprint-core</artifactId>
+
+ <packaging>bundle</packaging>
+
+ <name>Apache CXF :: Blueprint CORE</name>
+
+ <properties>
+ <cxf.osgi.export.pkg>
+ org.apache.cxf.blueprint.core;version="${project.version}"
+ </cxf.osgi.export.pkg>
+ <cxf.osgi.import.pkg>
+ !org.springframework*,
+ !org.apache.cxf.blueprint.core,
+ org.slf4j;version="[1.5.11,1.5.15)",
+ org.slf4j.* ;version="[1.5.11,1.5.15)",
+ org.apache.aries.blueprint*;version="[0.2,0.3)",
+ org.apache.cxf*;version="[2.3.2,2.4)",
+ *
+ </cxf.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-bundle</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.compendium</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.aries.blueprint</groupId>
+ <artifactId>org.apache.aries.blueprint</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </dependency>
+
+ <!-- for testing -->
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
Added: cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/BaseCxfParser.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/BaseCxfParser.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/BaseCxfParser.java (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/BaseCxfParser.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,338 @@
+/*
+ * *
+ * * 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.
+ *
+ */
+
+package org.apache.cxf.blueprint.core;
+
+import java.util.List;
+import java.util.StringTokenizer;
+import java.util.UUID;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Attr;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+import org.apache.aries.blueprint.ComponentDefinitionRegistry;
+import org.apache.aries.blueprint.NamespaceHandler;
+import org.apache.aries.blueprint.ParserContext;
+import org.apache.aries.blueprint.PassThroughMetadata;
+import org.apache.aries.blueprint.mutable.MutableBeanMetadata;
+import org.apache.aries.blueprint.mutable.MutableCollectionMetadata;
+import org.apache.aries.blueprint.mutable.MutablePassThroughMetadata;
+import org.apache.aries.blueprint.mutable.MutableValueMetadata;
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.common.util.StringUtils;
+import org.apache.cxf.configuration.spring.BusWiringType;
+import org.apache.cxf.helpers.DOMUtils;
+import org.apache.cxf.ws.addressing.WSAddressingFeature;
+import org.osgi.framework.Bundle;
+import org.osgi.service.blueprint.reflect.ComponentMetadata;
+import org.osgi.service.blueprint.reflect.Metadata;
+import org.osgi.service.blueprint.reflect.NullMetadata;
+import org.osgi.service.blueprint.reflect.RefMetadata;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public abstract class BaseCxfParser {
+
+ private static final transient Logger LOG = LoggerFactory.getLogger(BaseCxfParser.class);
+ private static final String WIRE_BUS_ATTRIBUTE = BaseCxfParser.class.getName() + ".wireBus";
+
+ protected boolean hasBusProperty() {
+ return false;
+ }
+
+ public Metadata createValue(ParserContext context, QName qName) {
+ MutableValueMetadata v = context.createMetadata(MutableValueMetadata.class);
+ v.setType(QName.class.getName());
+ v.setStringValue(qName.toString());
+ return v;
+ }
+
+ protected Metadata parseListData(ParserContext context, ComponentMetadata enclosingComponent, Element element) {
+ MutableCollectionMetadata collection = context.createMetadata(MutableCollectionMetadata.class);
+ collection.setCollectionClass(List.class);
+ NodeList children = element.getChildNodes();
+ for (int i = 0; i < children.getLength(); i++) {
+ Node child = children.item(i);
+ if (child instanceof Element) {
+ Metadata metadata = null;
+ if (NSUtils.nodeNameEquals(child, NSUtils.REF)) {
+
+ metadata = context.parseElement(RefMetadata.class, context.getEnclosingComponent(), (Element) child);
+ } else {
+ if (NSUtils.nodeNameEquals(child, NSUtils.NULL)) {
+ metadata = context.parseElement(NullMetadata.class, context.getEnclosingComponent(), (Element) child);
+ } else {
+
+ if (NSUtils.nodeNameEquals(child, NSUtils.BEAN)) {
+ metadata = context.parseElement(MutableBeanMetadata.class, enclosingComponent, (Element) child);
+ MutableBeanMetadata asBean = (MutableBeanMetadata) metadata;
+ asBean.setId(".cxf.supporting.bean." + UUID.randomUUID().toString());
+ asBean.setActivation(MutableBeanMetadata.ACTIVATION_EAGER);
+ context.getComponentDefinitionRegistry().registerComponentDefinition(asBean);
+ //cxfBean.addDependsOn(asBean.getId());
+ metadata = NSUtils.createRef(context, asBean.getId());
+ } else {
+
+ LOG.debug("Found " + child);
+
+ if (NSUtils.nodeNameEquals(child, "wsa:addressing") && child.getNodeValue() == null) {
+ MutableBeanMetadata wsaBean = context.createMetadata(MutableBeanMetadata.class);
+ wsaBean.setClassName(WSAddressingFeature.class.getName());
+ wsaBean.setId(".cxf.wsa.Addressing." + UUID.randomUUID().toString());
+ context.getComponentDefinitionRegistry().registerComponentDefinition(wsaBean);
+ metadata = NSUtils.createRef(context, wsaBean.getId());
+ }
+ }
+ }
+ }
+ if (metadata != null) {
+ collection.addValue(metadata);
+ }
+ }
+ }
+ return collection;
+ }
+
+ protected void setFirstChildAsProperty(Element element, ParserContext ctx, MutableBeanMetadata bean, String propertyName) {
+
+ Element first = NSUtils.getFirstChild(element);
+
+ if (first == null) {
+ throw new IllegalStateException(propertyName + " property must have child elements!");
+ }
+
+ Metadata child;
+ String id;
+ if (first.getNamespaceURI().equals("http://www.osgi.org/xmlns/blueprint/v1.0.0")) {
+ String name = first.getLocalName();
+ if ("ref".equals(name)) {
+ id = first.getAttribute("bean");
+ if (id == null) {
+ throw new IllegalStateException("<ref> elements must have a \"bean\" attribute!");
+ }
+ Object o = ctx.parseElement(RefMetadata.class, ctx.getEnclosingComponent(), first);
+ LOG.debug("ref object " + o);
+ bean.addProperty(propertyName, NSUtils.createRef(ctx, id));
+ } else {
+ if ("bean".equals(name)) {
+ //TODO FIX beans and refs
+ // / BeanDefinitionHolder bdh = ctx.getDelegate().parseBeanDefinitionElement(first);
+ // child = bdh.getBeanDefinition();
+ // bean.addPropertyValue(propertyName, child);
+ } else {
+ throw new UnsupportedOperationException(
+ "Elements with the name " + name + " are not currently " + "supported as sub elements of " + element.getLocalName());
+ }
+ }
+ }
+
+ //TODO check the parsing, this will require a chained NSHandler.
+ //i.e a service lookup, etc etc. in a blueprint world it does not make a ton of sense.
+ child = parseCustomElement(element, ctx);
+ bean.addProperty(propertyName, child);
+ }
+
+ private static Metadata parseCustomElement(Element ele, ParserContext ctx) {
+ String namespaceUri = ele.getNamespaceURI();
+ NamespaceHandler handler = null;
+ if (handler == null) {
+ return null;
+ }
+ return null;
+ }
+
+ QName parseQName(Element element, String t) {
+ String t1 = t;
+ String ns = null;
+ String pre = null;
+ String local = null;
+
+ if (t1.startsWith("{")) {
+ int i = t1.indexOf('}');
+ if (i == -1) {
+ throw new RuntimeException("Namespace bracket '{' must having a closing bracket '}'.");
+ }
+
+ ns = t1.substring(1, i);
+ t1 = t1.substring(i + 1);
+ }
+
+ int colIdx = t1.indexOf(':');
+ if (colIdx == -1) {
+ local = t1;
+ pre = "";
+
+ ns = DOMUtils.getNamespace(element, "");
+ } else {
+ pre = t1.substring(0, colIdx);
+ local = t1.substring(colIdx + 1);
+
+ ns = DOMUtils.getNamespace(element, pre);
+ }
+
+ return new QName(ns, local, pre);
+ }
+
+ /* This id-or-name resolution logic follows that in Spring's
+ * org.springframework.beans.factory.xml.BeanDefinitionParserDelegate object
+ * Intent is to have resolution of CXF custom beans follow that of Spring beans
+ */
+ protected String getIdOrName(Element elem) {
+ String id = elem.getAttribute("id");
+
+ if (null == id || "".equals(id)) {
+ String names = elem.getAttribute("name");
+ if (null != names) {
+ StringTokenizer st = new StringTokenizer(names, ",; ");
+ if (st.countTokens() > 0) {
+ id = st.nextToken();
+ }
+ }
+ }
+ return id;
+ }
+
+ protected boolean parseAttributes(Element element, ParserContext context, MutableBeanMetadata bean, CxfBusRegistry cxfBusRegistry) {
+ NamedNodeMap atts = element.getAttributes();
+ boolean setBus = false;
+ for (int i = 0; i < atts.getLength(); i++) {
+ Attr node = (Attr) atts.item(i);
+ String val = node.getValue();
+ String pre = node.getPrefix();
+ String name = node.getLocalName();
+ String prefix = node.getPrefix();
+
+ // Don't process namespaces
+ if (isNamespace(name, prefix)) {
+ continue;
+ }
+
+ if ("createdFromAPI".equals(name)) {
+ bean.addProperty("createdFromAPI", NSUtils.createValue(context, "true"));
+ } else {
+ if ("abstract".equals(name)) {
+ bean.addProperty("abstract", NSUtils.createValue(context, "true"));
+ } else {
+ if ("depends-on".equals(name)) {
+ bean.addDependsOn(val);
+ } else {
+ if (!"id".equals(name) && !"name".equals(name) && isAttribute(pre, name)) {
+ if ("bus".equals(name)) {
+
+ ComponentDefinitionRegistry cdr = context.getComponentDefinitionRegistry();
+ ComponentMetadata meta = cdr.getComponentDefinition("blueprintBundle");
+
+ Bundle blueprintBundle = null;
+ if (meta instanceof PassThroughMetadata) {
+ blueprintBundle = (Bundle) ((PassThroughMetadata) meta).getObject();
+ }
+
+ if (val != null && val.trim().length() > 0 && cdr.containsComponentDefinition(val)) {
+ bean.addProperty(name, NSUtils.createRef(context, val));
+ setBus = true;
+ } else {
+ if (blueprintBundle != null) {
+
+ if (!cdr.containsComponentDefinition(NSUtils.DEFAULT__BUNDLE_BUS)) {
+ //Create a bus
+ MutablePassThroughMetadata factory = context.createMetadata(MutablePassThroughMetadata.class);
+ factory.setId(".cxf.bus.passthrough.Factory" + UUID.randomUUID().toString());
+ factory.setObject(new NSUtils.PassThroughCallable<Object>(BusFactory.getThreadDefaultBus()));
+
+ MutableBeanMetadata busFactory = context.createMetadata(MutableBeanMetadata.class);
+ busFactory.setId(NSUtils.DEFAULT__BUNDLE_BUS);
+ busFactory.setRuntimeClass(Bus.class);
+ busFactory.setFactoryComponent(factory);
+ busFactory.setFactoryMethod("call");
+
+ context.getComponentDefinitionRegistry().registerComponentDefinition(busFactory);
+
+ if (!cxfBusRegistry.isRegistered(cdr)) {
+ cxfBusRegistry.register(cdr, blueprintBundle);
+ }
+ }
+ }
+
+ bean.addProperty("bus", NSUtils.createRef(context, NSUtils.DEFAULT__BUNDLE_BUS));
+ }
+ } else {
+ mapAttribute(bean, element, name, val, context);
+ }
+ }
+ }
+ }
+ }
+ }
+ return setBus;
+ }
+
+ protected void mapAttribute(MutableBeanMetadata bean, Element e, String name, String val, ParserContext context) {
+ if ("endpointName".equals(name) || "serviceName".equals(name)) {
+ QName q = parseQName(e, val);
+ bean.addProperty(name, createValue(context, q));
+ } else {
+ mapToProperty(bean, name, val, context);
+ }
+ }
+
+ boolean isAttribute(String pre, String name) {
+ return !"xmlns".equals(name) && (pre == null || !pre.equals("xmlns")) && !"abstract".equals(name) && !"lazy-init".equals(name) && !"id"
+ .equals(name);
+ }
+
+ private boolean isNamespace(String name, String prefix) {
+ return "xmlns".equals(prefix) || prefix == null && "xmlns".equals(name);
+ }
+
+ protected void mapElement(ParserContext ctx, MutableBeanMetadata bean, Element el, String name) {
+ }
+
+ protected void mapToProperty(MutableBeanMetadata bean, String propertyName, String val, ParserContext context) {
+ if ("id".equals(propertyName)) {
+ return;
+ }
+
+ if (!StringUtils.isEmpty(val)) {
+ if (val.startsWith("#")) {
+ bean.addProperty(propertyName, NSUtils.createRef(context, val.substring(1)));
+ } else {
+ bean.addProperty(propertyName, NSUtils.createValue(context, val));
+ }
+ }
+ }
+
+ protected void addBusWiringAttribute(MutableBeanMetadata bean) {
+ LOG.debug("Adding " + WIRE_BUS_ATTRIBUTE + " attribute " + BusWiringType.PROPERTY + " to bean " + bean);
+ //TODO - is there an equivalent in BP?
+ // /bean.getRawBeanDefinition().setAttribute(WIRE_BUS_ATTRIBUTE, type);
+ }
+
+ protected void parseChildElements(Element element, ParserContext ctx, MutableBeanMetadata bean) {
+ Element el = DOMUtils.getFirstElement(element);
+ while (el != null) {
+ String name = el.getLocalName();
+ mapElement(ctx, bean, el, name);
+ el = DOMUtils.getNextElement(el);
+ }
+ }
+}
Added: cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBundleManager.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBundleManager.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBundleManager.java (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBundleManager.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,43 @@
+/*
+ * *
+ * * 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.
+ *
+ */
+
+package org.apache.cxf.blueprint.core;
+
+import org.osgi.service.blueprint.container.BlueprintEvent;
+import org.osgi.service.blueprint.container.BlueprintListener;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class CxfBundleManager implements BlueprintListener {
+
+ private CxfBusRegistry cxfBusRegistry;
+
+ private static final Logger LOGGER = LoggerFactory.getLogger(CxfBundleManager.class);
+
+ @Override
+ public void blueprintEvent(BlueprintEvent event) {
+ if (event.getType() == BlueprintEvent.DESTROYED) {
+ cxfBusRegistry.unregister(event.getBundle());
+ }
+ }
+
+ public void setCxfBusRegistry(CxfBusRegistry cxfBusRegistry) {
+ this.cxfBusRegistry = cxfBusRegistry;
+ }
+}
Added: cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBusRegistry.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBusRegistry.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBusRegistry.java (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/CxfBusRegistry.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,32 @@
+/*
+ * *
+ * * 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.
+ *
+ */
+
+package org.apache.cxf.blueprint.core;
+
+import org.apache.aries.blueprint.ComponentDefinitionRegistry;
+import org.osgi.framework.Bundle;
+
+public interface CxfBusRegistry {
+
+ boolean isRegistered(ComponentDefinitionRegistry cdr);
+
+ void unregister(Bundle blueprintBundle);
+
+ void register(ComponentDefinitionRegistry cdr, Bundle bundle);
+}
Added: cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/NSUtils.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/NSUtils.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/NSUtils.java (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/NSUtils.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,262 @@
+/*
+ * *
+ * * 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.
+ *
+ */
+
+package org.apache.cxf.blueprint.core;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.StringTokenizer;
+import java.util.concurrent.Callable;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
+import org.apache.aries.blueprint.ParserContext;
+import org.apache.aries.blueprint.mutable.MutableMapMetadata;
+import org.apache.aries.blueprint.mutable.MutableRefMetadata;
+import org.apache.aries.blueprint.mutable.MutableValueMetadata;
+import org.apache.aries.blueprint.reflect.MapEntryImpl;
+import org.apache.aries.blueprint.reflect.MetadataUtil;
+import org.apache.cxf.helpers.DOMUtils;
+import org.osgi.service.blueprint.container.ComponentDefinitionException;
+import org.osgi.service.blueprint.reflect.MapEntry;
+import org.osgi.service.blueprint.reflect.Metadata;
+import org.osgi.service.blueprint.reflect.RefMetadata;
+import org.osgi.service.blueprint.reflect.ValueMetadata;
+
+public class NSUtils {
+
+ public static final String IMPLEMENTOR = "implementor";
+ public static final String ID_ATTRIBUTE = "id";
+ public static final String NAME_ATTR = "name";
+ public static final String BEAN = "bean";
+ public static final String REF = "ref";
+ public static final String NULL = "null";
+ public static final String VALUE_ATTRIBUTE = "value";
+ public static final String KEY_ELEMENT = "key";
+ public static final String KEY_ATTRIBUTE = "key";
+ public static final String KEY_REF_ATTRIBUTE = "key-ref";
+ public static final String VALUE_REF_ATTRIBUTE = "value-ref";
+ public static final String JAXWS_ENDPOINT = "jaxws:endpoint";
+ public static final String JAXWS_SERVER = "jaxws:server";
+ public static final String ENTRY = "entry";
+ public static final String DEFAULT__BUNDLE_BUS = "cxf.bus.threaded.default";
+ public static final String JAXRS_SERVER = "jaxrs:server";
+
+ public static boolean nodeNameEquals(Node node, String name) {
+ return (name.equals(node.getNodeName()) || name.equals(node.getLocalName()));
+ }
+
+ static List getChildElementsByTagName(Element ele) {
+ NodeList nl = ele.getChildNodes();
+ List childEles = new ArrayList();
+ for (int i = 0; i < nl.getLength(); i++) {
+ Node node = nl.item(i);
+
+ if (node instanceof Element && nodeNameEquals(node, ENTRY)) {
+ childEles.add(node);
+ }
+ }
+ return childEles;
+ }
+
+ public static Metadata parseMapElement(Element mapEle, ParserContext context) {
+ List entryEles = getChildElementsByTagName(mapEle);
+
+ MutableMapMetadata map = MetadataUtil.createMetadata(MutableMapMetadata.class);
+
+ for (Object entryEle1 : entryEles) {
+ Element entryEle = (Element) entryEle1;
+ // Should only have one value child element: ref, value, list, etc.
+ // Optionally, there might be a key child element.
+ NodeList entrySubNodes = entryEle.getChildNodes();
+
+ Element keyEle = null;
+ Element valueEle = null;
+ for (int j = 0; j < entrySubNodes.getLength(); j++) {
+ if (entrySubNodes.item(j) instanceof Element) {
+ Element candidateEle = (Element) entrySubNodes.item(j);
+ if (candidateEle.getTagName().equals(KEY_ELEMENT)) {
+ if (keyEle != null) {
+ throw new ComponentDefinitionException("<entry> is only allowed to contain one <key> sub-element");
+ }
+ keyEle = candidateEle;
+ } else {
+ // Child element is what we're looking for.
+ if (valueEle != null) {
+ throw new ComponentDefinitionException("<entry> must not contain more than one value sub-element");
+ }
+ valueEle = candidateEle;
+ }
+ }
+ }
+
+ // Extract key from attribute or sub-element.
+ Object key = null;
+ boolean hasKeyAttribute = entryEle.hasAttribute(KEY_ATTRIBUTE);
+ boolean hasKeyRefAttribute = entryEle.hasAttribute(KEY_REF_ATTRIBUTE);
+ if ((hasKeyAttribute && hasKeyRefAttribute) || ((hasKeyAttribute || hasKeyRefAttribute)) && keyEle != null) {
+ throw new ComponentDefinitionException(
+ "<entry> is only allowed to contain either " + "a 'key' attribute OR a 'key-ref' attribute OR a <key> sub-element");
+ }
+ if (hasKeyAttribute) {
+ key = entryEle.getAttribute(KEY_ATTRIBUTE);
+ } else {
+ if (hasKeyRefAttribute) {
+ //TODO Reference
+ //key = new RuntimeBeanReference(entryEle.getAttribute(KEY_REF_ATTRIBUTE));
+ } else {
+ if (keyEle != null) {
+ key = parseKeyElement(keyEle);
+ } else {
+ throw new ComponentDefinitionException("<entry> must specify a key");
+ }
+ }
+ }
+
+ // Extract value from attribute or sub-element.
+ Object value = null;
+ boolean hasValueAttribute = entryEle.hasAttribute(VALUE_ATTRIBUTE);
+ boolean hasValueRefAttribute = entryEle.hasAttribute(VALUE_REF_ATTRIBUTE);
+ if ((hasValueAttribute && hasValueRefAttribute) || ((hasValueAttribute || hasValueRefAttribute)) && valueEle != null) {
+ throw new ComponentDefinitionException(
+ "<entry> is only allowed to contain either " + "a 'value' attribute OR a 'value-ref' attribute OR a value sub-element");
+ }
+ if (hasValueAttribute) {
+ value = entryEle.getAttribute(VALUE_ATTRIBUTE);
+ } else {
+ if (hasValueRefAttribute) {
+ //value = new RuntimeBeanReference(entryEle.getAttribute(VALUE_REF_ATTRIBUTE));
+ } else {
+ if (valueEle != null) {
+ //value = parsePropertySubElement(valueEle, beanName);
+ } else {
+ throw new ComponentDefinitionException("<entry> must specify a value");
+ }
+ }
+ }
+
+ // Add final key and value to the Map.
+ if (key != null && value != null) {
+ MapEntry mapEntry = new MapEntryImpl(createValue(context, key.toString()), createValue(context, value.toString()));
+ map.addEntry(mapEntry);
+ }
+ }
+
+ return map;
+ }
+
+ public static Object parseKeyElement(Element keyEle) {
+ NodeList nl = keyEle.getChildNodes();
+ Element subElement = null;
+ for (int i = 0; i < nl.getLength(); i++) {
+ if (nl.item(i) instanceof Element) {
+ Element candidateEle = (Element) nl.item(i);
+ // Child element is what we're looking for.
+ if (subElement != null) {
+ throw new ComponentDefinitionException("<key> must not contain more than one value sub-element");
+ }
+ subElement = candidateEle;
+ }
+ }
+ return subElement;
+ }
+
+ public static ValueMetadata createValue(ParserContext context, String value) {
+ MutableValueMetadata v = context.createMetadata(MutableValueMetadata.class);
+ v.setStringValue(value);
+ return v;
+ }
+
+ public static RefMetadata createRef(ParserContext context, String value) {
+ MutableRefMetadata r = context.createMetadata(MutableRefMetadata.class);
+ r.setComponentId(value);
+ return r;
+ }
+
+ public static boolean isAttribute(String pre, String name) {
+ return !"xmlns".equals(name) && (pre == null || !pre.equals("xmlns")) && !"abstract".equals(name) && !"lazy-init".equals(name) && !"id"
+ .equals(name);
+ }
+
+ public static QName parseQName(Element element, String t) {
+ String t1 = t;
+ String ns;
+ String pre;
+ String local;
+
+ if (t1.startsWith("{")) {
+ int i = t1.indexOf('}');
+ if (i == -1) {
+ throw new RuntimeException("Namespace bracket '{' must having a closing bracket '}'.");
+ }
+
+ ns = t1.substring(1, i);
+ t1 = t1.substring(i + 1);
+ }
+
+ int colIdx = t1.indexOf(':');
+ if (colIdx == -1) {
+ local = t1;
+ pre = "";
+
+ ns = DOMUtils.getNamespace(element, "");
+ } else {
+ pre = t1.substring(0, colIdx);
+ local = t1.substring(colIdx + 1);
+
+ ns = DOMUtils.getNamespace(element, pre);
+ }
+
+ return new QName(ns, local, pre);
+ }
+
+ public static String getIdOrName(Element elem) {
+ String id = elem.getAttribute(ID_ATTRIBUTE);
+
+ if (null == id || "".equals(id)) {
+ String names = elem.getAttribute(NAME_ATTR);
+ if (null != names) {
+ StringTokenizer st = new StringTokenizer(names, ",");
+ if (st.countTokens() > 0) {
+ id = st.nextToken();
+ }
+ }
+ }
+ return id;
+ }
+
+ public static Element getFirstChild(Element element) {
+ return DOMUtils.getFirstElement(element);
+ }
+
+ public static class PassThroughCallable<T> implements Callable<T> {
+
+ private final T value;
+
+ public PassThroughCallable(T value) {
+ this.value = value;
+ }
+
+ public T call() throws Exception {
+ return value;
+ }
+ }
+}
Added: cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/SimpleCxfBusRegistry.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/SimpleCxfBusRegistry.java?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/SimpleCxfBusRegistry.java (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/java/org/apache/cxf/blueprint/core/SimpleCxfBusRegistry.java Wed Mar 23 04:28:40 2011
@@ -0,0 +1,61 @@
+/*
+ * *
+ * * 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.
+ *
+ */
+
+package org.apache.cxf.blueprint.core;
+
+import java.util.Iterator;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentMap;
+
+import org.apache.aries.blueprint.ComponentDefinitionRegistry;
+import org.osgi.framework.Bundle;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class SimpleCxfBusRegistry implements CxfBusRegistry {
+
+ Logger LOGGER = LoggerFactory.getLogger(SimpleCxfBusRegistry.class);
+
+ private ConcurrentMap<ComponentDefinitionRegistry, Bundle> registered = new ConcurrentHashMap<ComponentDefinitionRegistry, Bundle>();
+
+ @Override
+ public boolean isRegistered(ComponentDefinitionRegistry cdr) {
+ return registered.containsKey(cdr);
+ }
+
+ @Override
+ public void unregister(Bundle blueprintBundle) {
+ Iterator<Map.Entry<ComponentDefinitionRegistry, Bundle>> it = registered.entrySet().iterator();
+ while (it.hasNext()) {
+ Map.Entry<ComponentDefinitionRegistry, Bundle> e = it.next();
+ if (blueprintBundle.equals(e.getValue())) {
+ registered.remove(e.getKey());
+ LOGGER.debug("Removing bundle {} from cxfBusRegistry", blueprintBundle);
+ it.remove();
+ }
+ }
+ }
+
+ @Override
+ public void register(ComponentDefinitionRegistry cdr, Bundle bundle) {
+ LOGGER.debug("Adding {} with {} to cxfBusRegistry", cdr, bundle);
+ registered.put(cdr, bundle);
+ }
+}
Added: cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/resources/OSGI-INF/blueprint/cxf-core.xml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,39 @@
+<!--
+ ~ /**
+ ~ * 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.
+ ~ */
+ -->
+
+<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.0.0"
+ xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
+
+ <bean id="busRegistry" class="org.apache.cxf.blueprint.core.SimpleCxfBusRegistry"/>
+
+ <bean id="cxfBundleManager" class="org.apache.cxf.blueprint.core.CxfBundleManager">
+ <property name="cxfBusRegistry" ref="busRegistry"/>
+ </bean>
+
+ <service id="cxfBundleListener" ref="cxfBundleManager" interface="org.osgi.service.blueprint.container.BlueprintListener"/>
+
+ <service id="cxfBusRegistry" ref="busRegistry" interface="org.apache.cxf.blueprint.core.CxfBusRegistry">
+ <service-properties>
+ <entry key="simpleBusRegistry" value="true"/>
+ </service-properties>
+ </service>
+
+</blueprint>
\ No newline at end of file
Added: cxf/sandbox/cxf-blueprint/core/src/main/resources/cxf-beans.xsd
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/src/main/resources/cxf-beans.xsd?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/src/main/resources/cxf-beans.xsd (added)
+++ cxf/sandbox/cxf-blueprint/core/src/main/resources/cxf-beans.xsd Wed Mar 23 04:28:40 2011
@@ -0,0 +1,82 @@
+<?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.
+-->
+
+<xsd:schema
+ targetNamespace="http://cxf.apache.org/configuration/beans"
+ xmlns:tns="http://cxf.apache.org/configuration/beans"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified">
+
+
+ <xsd:attributeGroup name="beanAttributes">
+ <xsd:attribute name="name" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ A unique identifier for the bean. This can also be a list of identifiers.
+ See documentation for attribute name in attribute group beanAttributes
+ in http://www.springframework.org/schema/beans/spring-beans.xsd
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="abstract" type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation>
+ Specifies if the bean is an abstract bean. Abstract beans act as parents for
+ concrete bean definitions and are not instantiated. The default is "false".
+ Setting this to "true" instructs the bean factory not to instantiate the bean.
+ See documentation for attribute abstract in attribute group beanAttributes
+ in http://www.springframework.org/schema/beans/spring-beans.xsd
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="depends-on" type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ A list of beans that the bean depends on being instantiated before it
+ can be instantiated.
+ See documentation for attribute depends-on in attribute group beanAttributes
+ in http://www.springframework.org/schema/beans/spring-beans.xsd
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute name="createdFromAPI" type="xsd:boolean">
+ <xsd:annotation>
+ <xsd:documentation>
+ Specifies that the user created that bean using CXF APIs like
+ Endpoint.publish or Service.getPort.
+ The default is "false".
+ Setting this to "true" does the following: Changes the internal name of the
+ bean by appending either ".jaxws-client" or ".jaxws-endpoint" to the bean's
+ id. Makes the bean abstract.
+ See documentation for attribute abstract in attribute group beanAttributes
+ in http://www.springframework.org/schema/beans/spring-beans.xsd
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:attributeGroup>
+
+ <xsd:complexType name="ClassOrBeanType">
+ <xsd:attribute name="class" type="xsd:string"/>
+ <xsd:attribute name="bean" type="xsd:string"/>
+ </xsd:complexType>
+
+</xsd:schema>
+
Added: cxf/sandbox/cxf-blueprint/core/target/cxf-blueprint-core-2.4.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/target/cxf-blueprint-core-2.4.0-SNAPSHOT.jar?rev=1084474&view=auto
==============================================================================
Binary file - no diff available.
Propchange: cxf/sandbox/cxf-blueprint/core/target/cxf-blueprint-core-2.4.0-SNAPSHOT.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: cxf/sandbox/cxf-blueprint/core/target/cxf.osgi.version.txt
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/core/target/cxf.osgi.version.txt?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/core/target/cxf.osgi.version.txt (added)
+++ cxf/sandbox/cxf-blueprint/core/target/cxf.osgi.version.txt Wed Mar 23 04:28:40 2011
@@ -0,0 +1,2 @@
+cxf.osgi.version.clean = 2.4.0.SNAPSHOT
+ csc.schema.version = 2.4
\ No newline at end of file
Added: cxf/sandbox/cxf-blueprint/cxf-blueprint.iml
URL: http://svn.apache.org/viewvc/cxf/sandbox/cxf-blueprint/cxf-blueprint.iml?rev=1084474&view=auto
==============================================================================
--- cxf/sandbox/cxf-blueprint/cxf-blueprint.iml (added)
+++ cxf/sandbox/cxf-blueprint/cxf-blueprint.iml Wed Mar 23 04:28:40 2011
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
+ <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/target/classes" />
+ <output-test url="file://$MODULE_DIR$/target/test-classes" />
+ <exclude-output />
+ <content url="file://$MODULE_DIR$">
+ <excludeFolder url="file://$MODULE_DIR$/target" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module>
+