Author: bimargulies
Date: Mon Mar 24 14:08:52 2008
New Revision: 640580
URL: http://svn.apache.org/viewvc?rev=640580&view=rev
Log:
Add maven plugin to 'compile' XML to FastInfoset.
Added:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml (with
props)
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
(with props)
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml (with
props)
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
(with props)
Modified:
incubator/cxf/trunk/maven-plugins/pom.xml
Modified: incubator/cxf/trunk/maven-plugins/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/pom.xml?rev=640580&r1=640579&r2=640580&view=diff
==============================================================================
--- incubator/cxf/trunk/maven-plugins/pom.xml (original)
+++ incubator/cxf/trunk/maven-plugins/pom.xml Mon Mar 24 14:08:52 2008
@@ -37,6 +37,7 @@
<module>corba</module>
<module>archetypes</module>
<module>eclipse-plugin-generator</module>
+ <module>xml2fastinfoset-plugin</module>
</modules>
</project>
Added: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml?rev=640580&view=auto
==============================================================================
--- incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml (added)
+++ incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml Mon Mar 24
14:08:52 2008
@@ -0,0 +1,77 @@
+<?xml version="1.0"?>
+<!--
+ 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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-xml2fastinfoset-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <version>2.1-incubator-SNAPSHOT</version>
+ <name>Apache CXF XML to FastInfoset Maven2 Plugin</name>
+ <url>http://cwiki.apache.org/CXF</url>
+ <prerequisites>
+ <maven>2.0</maven>
+ </prerequisites>
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.1-incubator-SNAPSHOT</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-compiler-api</artifactId>
+ <version>1.5.3</version>
+ </dependency>
+ <dependency>
+ <groupId>com.sun.xml.fastinfoset</groupId>
+ <artifactId>FastInfoset</artifactId>
+ <version>1.2.2</version>
+ </dependency>
+ </dependencies>
+</project>
\ No newline at end of file
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java?rev=640580&view=auto
==============================================================================
---
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
(added)
+++
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
Mon Mar 24 14:08:52 2008
@@ -0,0 +1,226 @@
+/**
+ * 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.maven_plugin.xml2fastinfoset;
+
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.HashSet;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Set;
+
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
+import javax.xml.parsers.SAXParserFactory;
+
+import org.xml.sax.SAXException;
+
+import com.sun.xml.fastinfoset.sax.SAXDocumentSerializer;
+
+import org.apache.maven.model.Resource;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.project.MavenProject;
+import org.codehaus.plexus.compiler.util.scan.InclusionScanException;
+import org.codehaus.plexus.compiler.util.scan.SourceInclusionScanner;
+import org.codehaus.plexus.compiler.util.scan.StaleSourceScanner;
+import org.codehaus.plexus.compiler.util.scan.mapping.SourceMapping;
+import org.codehaus.plexus.compiler.util.scan.mapping.SuffixMapping;
+
+/**
+ * Compile XML resources to FastInfoset XML resources.
+ *
+ * @goal xml2fastinfoset
+ * @phase process-resources
+ */
+public class XML2FastInfosetCompilerMojo extends AbstractMojo {
+
+ /**
+ * @parameter expression="${project}"
+ * @required
+ * @readonly
+ */
+ private MavenProject project;
+
+ /**
+ * The resource directories containing the XML files to be compiled.
+ *
+ * @parameter expression="${project.resources}"
+ * @required
+ * @readonly
+ */
+ private List resources;
+
+ /**
+ * A list of inclusion filters.
+ *
+ * @parameter
+ */
+ private Set includes = new HashSet();
+
+ /**
+ * A list of exclusion filters.
+ *
+ * @parameter
+ */
+ private Set excludes = new HashSet();
+
+ /**
+ * The directory for the results.
+ *
+ * @parameter expression="${project.build.outputDirectory}"
+ * @required
+ * @readonly
+ */
+ private File outputDirectory;
+
+ @SuppressWarnings("unchecked")
+ public void execute() throws MojoExecutionException {
+
+ SourceInclusionScanner scanner = null;
+
+ if (includes.isEmpty() && excludes.isEmpty()) {
+ scanner = new StaleSourceScanner(0);
+ } else {
+ if (includes.isEmpty()) {
+ includes.add("**/*.xml");
+ }
+ scanner = new StaleSourceScanner(0, includes, excludes);
+ }
+
+ SourceMapping mapping;
+ mapping = new SuffixMapping(".xml", ".fixml");
+ scanner.addSourceMapping(mapping);
+
+ Set staleSources = new HashSet();
+
+ for (Iterator it = resources.iterator(); it.hasNext();) {
+ Resource resource = (Resource)it.next();
+ String targetPath = resource.getTargetPath();
+
+ File resourceDirectory = new File(resource.getDirectory());
+ if (!resourceDirectory.isAbsolute()) {
+ resourceDirectory = new File(project.getBasedir(),
resourceDirectory.getPath());
+ }
+
+ if (!resourceDirectory.exists()) {
+ getLog().info("Resource directory does not exist: " +
resourceDirectory);
+ continue;
+ }
+
+ // this part is required in case the user specified "../something"
+ // as destination
+ // see MNG-1345
+ if (!outputDirectory.exists()
+ && !outputDirectory.mkdirs()) {
+ throw new MojoExecutionException("Cannot create resource
output directory: "
+ + outputDirectory);
+ }
+
+ try {
+
staleSources.addAll(scanner.getIncludedSources(resourceDirectory,
outputDirectory));
+ } catch (InclusionScanException e) {
+ throw new MojoExecutionException("Error scanning source root:
\'" + resourceDirectory + "\' "
+ + "for stale files to
recompile.", e);
+ }
+
+ for (Iterator j = staleSources.iterator(); j.hasNext();) {
+ File source = (File)j.next();
+
+ // the source pathname has to be in common with the
+ // source directory.
+
+ String name =
source.getPath().substring(resourceDirectory.getPath().length() + 1);
+ String destination = name;
+
+ if (targetPath != null) {
+ destination = targetPath + "/" + name;
+ }
+
+ destination = destination.replaceFirst("\\.xml$", ".fixml");
+
+ File destinationFile = new File(outputDirectory, destination);
+
+ if (!destinationFile.getParentFile().exists()) {
+ destinationFile.getParentFile().mkdirs();
+ }
+
+ try {
+ compileFile(source, destinationFile);
+ } catch (Exception e) {
+ throw new MojoExecutionException("Error copying resource "
+ source, e);
+ }
+ }
+
+ }
+ }
+
+ private void compileFile(File sourceFile, File destinationFile) throws
ParserConfigurationException,
+ SAXException, IOException {
+
+ FileInputStream fis = null;
+ FileOutputStream fos = null;
+ try {
+ fis = new FileInputStream(sourceFile);
+ fos = new FileOutputStream(destinationFile);
+ dehydrate(fis, fos);
+ fis.close();
+ fos.close();
+ } finally {
+ try {
+ if (fis != null) {
+ fis.close();
+ }
+ if (fos != null) {
+ fos.close();
+ }
+ } catch (Exception e) {
+ // nothing.
+ }
+ }
+ }
+
+ private void dehydrate(InputStream input, OutputStream output) throws
ParserConfigurationException,
+ SAXException, IOException {
+ // Create Fast Infoset SAX serializer
+ SAXDocumentSerializer saxDocumentSerializer = new
SAXDocumentSerializer();
+ // Set the output stream
+ saxDocumentSerializer.setOutputStream(output);
+
+ // Instantiate JAXP SAX parser factory
+ SAXParserFactory saxParserFactory = SAXParserFactory.newInstance();
+ /*
+ * Set parser to be namespace aware Very important to do otherwise
+ * invalid FI documents will be created by the SAXDocumentSerializer
+ */
+ saxParserFactory.setNamespaceAware(true);
+ // Instantiate the JAXP SAX parser
+ SAXParser saxParser = saxParserFactory.newSAXParser();
+ // Set the lexical handler
+ saxParser.setProperty("http://xml.org/sax/properties/lexical-handler",
saxDocumentSerializer);
+ // Parse the XML document and convert to a fast infoset document
+ saxParser.parse(input, saxDocumentSerializer);
+ }
+
+}
Propchange:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-plugin/src/main/java/org/apache/cxf/maven_plugin/xml2fastinfoset/XML2FastInfosetCompilerMojo.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml?rev=640580&view=auto
==============================================================================
--- incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml (added)
+++ incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml Mon Mar 24
14:08:52 2008
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<!--
+ 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/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-xml2fastinfoset-test</artifactId>
+ <packaging>jar</packaging>
+ <version>2.1-incubator-SNAPSHOT</version>
+ <name>Apache CXF XML to FastInfoset Maven2 Plugin Test</name>
+ <url>http://cwiki.apache.org/CXF</url>
+
+
+ <parent>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-parent</artifactId>
+ <version>2.1-incubator-SNAPSHOT</version>
+ <relativePath>../../parent/pom.xml</relativePath>
+ </parent>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <executions>
+ <execution>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>xml2fastinfoset</goal>
+ </goals>
+ </execution>
+ </executions>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-xml2fastinfoset-plugin</artifactId>
+ <configuration>
+ <compilerId>cxf-xml2fastinfoset</compilerId>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-xml2fastinfoset-compiler</artifactId>
+ <version>2.1-incubator-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Added:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml?rev=640580&view=auto
==============================================================================
---
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
(added)
+++
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
Mon Mar 24 14:08:52 2008
@@ -0,0 +1,122 @@
+<?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.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:foo="http://cxf.apache.org/configuration/foo"
+ xsi:schemaLocation="
+http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <bean id="cxf" class="org.apache.cxf.bus.CXFBusImpl"/>
+ <bean id="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor"
class="org.apache.cxf.bus.spring.Jsr250BeanPostProcessor"/>
+ <bean id="org.apache.cxf.bus.spring.BusExtensionPostProcessor"
class="org.apache.cxf.bus.spring.BusExtensionPostProcessor"/>
+
+ <bean id="org.apache.cxf.resource.ResourceManager"
class="org.apache.cxf.bus.resource.ResourceManagerImpl">
+ <constructor-arg>
+ <list>
+ <bean class="org.apache.cxf.resource.ClasspathResolver"/>
+ <bean class="org.apache.cxf.resource.ClassLoaderResolver"/>
+ <bean
class="org.apache.cxf.bus.spring.BusApplicationContextResourceResolver"/>
+ </list>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.configuration.Configurer"
+ class="org.apache.cxf.configuration.spring.ConfigurerImpl">
+ </bean>
+
+ <bean id="org.apache.cxf.binding.BindingFactoryManager"
class="org.apache.cxf.binding.BindingFactoryManagerImpl">
+ <constructor-arg>
+ <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.binding.BindingFactory"/>
+ <property name="idsProperty" value="activationNamespaces"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.transport.DestinationFactoryManager"
class="org.apache.cxf.transport.DestinationFactoryManagerImpl">
+ <constructor-arg>
+ <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.transport.DestinationFactory"/>
+ <property name="idsProperty" value="transportIds"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.transport.ConduitInitiatorManager"
class="org.apache.cxf.transport.ConduitInitiatorManagerImpl">
+ <constructor-arg>
+ <bean class="org.apache.cxf.configuration.spring.SpringBeanMap">
+ <property name="type"
value="org.apache.cxf.transport.ConduitInitiator"/>
+ <property name="idsProperty" value="transportIds"/>
+ </bean>
+ </constructor-arg>
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.wsdl.WSDLManager"
class="org.apache.cxf.wsdl11.WSDLManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.phase.PhaseManager"
class="org.apache.cxf.phase.PhaseManagerImpl">
+
+ </bean>
+
+ <bean id="org.apache.cxf.workqueue.WorkQueueManager"
class="org.apache.cxf.workqueue.WorkQueueManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.buslifecycle.BusLifeCycleManager"
class="org.apache.cxf.buslifecycle.CXFBusLifeCycleManager">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.ServerRegistry"
class="org.apache.cxf.endpoint.ServerRegistryImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.ServerLifeCycleManager"
class="org.apache.cxf.endpoint.ServerLifeCycleManagerImpl"/>
+ <bean id="org.apache.cxf.endpoint.ClientLifeCycleManager"
class="org.apache.cxf.endpoint.ClientLifeCycleManagerImpl"/>
+
+
+ <bean id="org.apache.cxf.transports.http.QueryHandlerRegistry"
class="org.apache.cxf.transport.http.QueryHandlerRegistryImpl">
+ <constructor-arg ref="cxf"/>
+ <constructor-arg>
+ <list>
+ <bean
class="org.apache.cxf.transport.http.WSDLQueryHandler">
+ <constructor-arg ref="cxf"/>
+ </bean>
+ </list>
+ </constructor-arg>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.EndpointResolverRegistry"
class="org.apache.cxf.endpoint.EndpointResolverRegistryImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.headers.HeaderManager"
class="org.apache.cxf.headers.HeaderManagerImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+ <bean id="org.apache.cxf.catalog.OASISCatalogManager"
class="org.apache.cxf.catalog.OASISCatalogManager">
+ <property name="bus" ref="cxf"/>
+ </bean>
+
+ <bean id="org.apache.cxf.endpoint.ServiceContractResolverRegistry"
class="org.apache.cxf.endpoint.ServiceContractResolverRegistryImpl">
+ <property name="bus" ref="cxf"/>
+ </bean>
+</beans>
Propchange:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange:
incubator/cxf/trunk/maven-plugins/xml2fastinfoset-test/src/main/resources/META-INF/cxf/test-cxf.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml