You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2006/12/11 00:00:54 UTC
svn commit: r485299 - in
/webservices/muse/trunk/modules/osgi-bundles/muse-complete: ./ resources/
resources/META-INF/ src/ src/org/ src/org/apache/ src/org/apache/muse/
src/org/apache/muse/complete/
Author: danj
Date: Sun Dec 10 15:00:53 2006
New Revision: 485299
URL: http://svn.apache.org/viewvc?view=rev&rev=485299
Log:
Joel H.'s contribution for MUSE-156
Added:
webservices/muse/trunk/modules/osgi-bundles/muse-complete/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/pom.xml
webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/MANIFEST.MF
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/Activator.java
webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/MuseCompleteContribution.java
Added: webservices/muse/trunk/modules/osgi-bundles/muse-complete/pom.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/osgi-bundles/muse-complete/pom.xml?view=auto&rev=485299
==============================================================================
--- webservices/muse/trunk/modules/osgi-bundles/muse-complete/pom.xml (added)
+++ webservices/muse/trunk/modules/osgi-bundles/muse-complete/pom.xml Sun Dec 10 15:00:53 2006
@@ -0,0 +1,244 @@
+<?xml version="1.0"?>
+<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>
+ <artifactId>muse-complete</artifactId>
+ <groupId>muse.osgi-bundles</groupId>
+ <parent>
+ <groupId>muse</groupId>
+ <artifactId>osgi-bundles</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ </parent>
+ <packaging>jar</packaging>
+ <version>2.1.0-SNAPSHOT</version>
+ <name>OSGi Bundle - muse-complete</name>
+ <url>http://ws.apache.org/muse</url>
+ <dependencies>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-osgi-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-osgi-soa-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-qname</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-xml</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-util-xstream</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsa-soap</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-adv-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-adv-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-muws-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-wef-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsdm-wef-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsn-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsn-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-impl</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsrf-rmd</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsx-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>muse</groupId>
+ <artifactId>muse-wsx-impl</artifactId>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dependency-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-core</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-osgi-core</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-osgi-soa-core</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-util</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-util-qname</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-util-xml</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-util-xstream</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse/osgi-bundles</groupId><artifactId>muse-util-all</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsa-soap</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-muws-adv-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-muws-adv-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-muws-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-muws-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-wef-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsdm-wef-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsn-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsn-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsrf-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsrf-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsrf-rmd</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsx-api</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ <artifactItem>
+ <groupId>muse</groupId><artifactId>muse-wsx-impl</artifactId><version>${project.version}</version><type>jar</type>
+ <outputDirectory>target/classes</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <resources>
+ <resource>
+ <directory>../../muse-wsa-soap/specs</directory>
+ <includes>
+ <include>**.*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../muse-wsdm-muws-api/specs</directory>
+ <includes>
+ <include>**.*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../muse-wsn-api/specs</directory>
+ <includes>
+ <include>**.*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../muse-wsrf-api/specs</directory>
+ <includes>
+ <include>**.*</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>../../muse-wsx-api/specs</directory>
+ <includes>
+ <include>**.*</include>
+ </includes>
+ </resource>
+ </resources>
+ </build>
+</project>
Added: webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/MANIFEST.MF?view=auto&rev=485299
==============================================================================
--- webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/MANIFEST.MF (added)
+++ webservices/muse/trunk/modules/osgi-bundles/muse-complete/resources/META-INF/MANIFEST.MF Sun Dec 10 15:00:53 2006
@@ -0,0 +1,106 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Apache Muse
+Bundle-SymbolicName: org.apache.muse.complete
+Bundle-Version: 2.1.0
+Bundle-Activator: org.apache.muse.complete.Activator
+Bundle-Vendor: Apache
+Bundle-Localization: plugin
+Import-Package: javax.servlet;version="2.3.0",
+ javax.wsdl,
+ javax.wsdl.extensions,
+ javax.wsdl.factory,
+ javax.wsdl.xml,
+ javax.xml.namespace,
+ org.apache.xml.serialize,
+ org.apache.xpath;version="2.7.0",
+ org.apache.xpath.axes;version="2.7.0",
+ org.apache.xpath.compiler;version="2.7.0",
+ org.apache.xpath.domapi;version="2.7.0",
+ org.apache.xpath.functions;version="2.7.0",
+ org.apache.xpath.jaxp;version="2.7.0",
+ org.apache.xpath.objects;version="2.7.0",
+ org.apache.xpath.operations;version="2.7.0",
+ org.apache.xpath.patterns;version="2.7.0",
+ org.apache.xpath.res;version="2.7.0",
+ org.osgi.framework;version="1.3.0",
+ org.osgi.service.http;version="1.1.0"
+Bundle-ClassPath: lib/muse-complete-2.1.0-SNAPSHOT.jar,
+ .
+Export-Package: javax.xml.namespace,
+ org.apache.muse.core;version="2.1.0",
+ org.apache.muse.core.descriptor;version="2.1.0",
+ org.apache.muse.core.platform;version="2.1.0",
+ org.apache.muse.core.platform.osgi;version="2.1.0",
+ org.apache.muse.core.platform.osgi.descriptor;version="2.1.0",
+ org.apache.muse.core.platform.osgi.internal;version="2.1.0",
+ org.apache.muse.core.platform.osgi.routing;version="2.1.0",
+ org.apache.muse.core.platform.osgi.util;version="2.1.0",
+ org.apache.muse.core.proxy;version="2.1.0",
+ org.apache.muse.core.routing;version="2.1.0",
+ org.apache.muse.core.serializer;version="2.1.0",
+ org.apache.muse.core.serializer.xstream;version="2.1.0",
+ org.apache.muse.osgi.soa.core;version="2.1.0",
+ org.apache.muse.osgi.soa.core.web;version="2.1.0",
+ org.apache.muse.util;version="2.1.0",
+ org.apache.muse.util.messages;version="2.1.0",
+ org.apache.muse.util.osgi,
+ org.apache.muse.util.uuid;version="2.1.0",
+ org.apache.muse.util.xml;version="2.1.0",
+ org.apache.muse.ws.addressing;version="2.1.0",
+ org.apache.muse.ws.addressing.soap;version="2.1.0",
+ org.apache.muse.ws.dm.muws;version="2.1.0",
+ org.apache.muse.ws.dm.muws.adv;version="2.1.0",
+ org.apache.muse.ws.dm.muws.adv.impl;version="2.1.0",
+ org.apache.muse.ws.dm.muws.events;version="2.1.0",
+ org.apache.muse.ws.dm.muws.events.impl;version="2.1.0",
+ org.apache.muse.ws.dm.muws.ext;version="2.1.0",
+ org.apache.muse.ws.dm.muws.ext.faults;version="2.1.0",
+ org.apache.muse.ws.dm.muws.impl;version="2.1.0",
+ org.apache.muse.ws.dm.muws.remote;version="2.1.0",
+ org.apache.muse.ws.metadata;version="2.1.0",
+ org.apache.muse.ws.metadata.impl;version="2.1.0",
+ org.apache.muse.ws.metadata.remote;version="2.1.0",
+ org.apache.muse.ws.notification;version="2.1.0",
+ org.apache.muse.ws.notification.faults;version="2.1.0",
+ org.apache.muse.ws.notification.impl;version="2.1.0",
+ org.apache.muse.ws.notification.properties;version="2.1.0",
+ org.apache.muse.ws.notification.remote;version="2.1.0",
+ org.apache.muse.ws.notification.topics;version="2.1.0",
+ org.apache.muse.ws.notification.topics.impl;version="2.1.0",
+ org.apache.muse.ws.resource;version="2.1.0",
+ org.apache.muse.ws.resource.basefaults;version="2.1.0",
+ org.apache.muse.ws.resource.ext;version="2.1.0",
+ org.apache.muse.ws.resource.ext.faults;version="2.1.0",
+ org.apache.muse.ws.resource.faults;version="2.1.0",
+ org.apache.muse.ws.resource.impl;version="2.1.0",
+ org.apache.muse.ws.resource.lifetime;version="2.1.0",
+ org.apache.muse.ws.resource.lifetime.faults;version="2.1.0",
+ org.apache.muse.ws.resource.lifetime.impl;version="2.1.0",
+ org.apache.muse.ws.resource.metadata;version="2.1.0",
+ org.apache.muse.ws.resource.metadata.faults;version="2.1.0",
+ org.apache.muse.ws.resource.metadata.impl;version="2.1.0",
+ org.apache.muse.ws.resource.properties;version="2.1.0",
+ org.apache.muse.ws.resource.properties.get;version="2.1.0",
+ org.apache.muse.ws.resource.properties.get.ext;version="2.1.0",
+ org.apache.muse.ws.resource.properties.get.faults;version="2.1.0",
+ org.apache.muse.ws.resource.properties.get.impl;version="2.1.0",
+ org.apache.muse.ws.resource.properties.impl;version="2.1.0",
+ org.apache.muse.ws.resource.properties.listeners;version="2.1.0",
+ org.apache.muse.ws.resource.properties.query;version="2.1.0",
+ org.apache.muse.ws.resource.properties.query.faults;version="2.1.0",
+ org.apache.muse.ws.resource.properties.query.impl;version="2.1.0",
+ org.apache.muse.ws.resource.properties.schema;version="2.1.0",
+ org.apache.muse.ws.resource.properties.schema.faults;version="2.1.0",
+ org.apache.muse.ws.resource.properties.schema.impl;version="2.1.0",
+ org.apache.muse.ws.resource.properties.set;version="2.1.0",
+ org.apache.muse.ws.resource.properties.set.ext;version="2.1.0",
+ org.apache.muse.ws.resource.properties.set.faults;version="2.1.0",
+ org.apache.muse.ws.resource.properties.set.impl;version="2.1.0",
+ org.apache.muse.ws.resource.remote;version="2.1.0",
+ org.apache.muse.ws.resource.sg;version="2.1.0",
+ org.apache.muse.ws.resource.sg.faults;version="2.1.0",
+ org.apache.muse.ws.resource.sg.impl;version="2.1.0",
+ org.apache.muse.ws.resource.sg.remote;version="2.1.0",
+ org.apache.muse.ws.wsdl;version="2.1.0",
+ org.apache.ws.resource.metadata.ext;version="2.1.0"
Added: webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/Activator.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/Activator.java?view=auto&rev=485299
==============================================================================
--- webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/Activator.java (added)
+++ webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/Activator.java Sun Dec 10 15:00:53 2006
@@ -0,0 +1,40 @@
+package org.apache.muse.complete;
+
+import java.util.Hashtable;
+
+import org.apache.muse.core.platform.osgi.util.OSGiReflectUtilHelper;
+import org.apache.muse.util.osgi.ResourceManagementImplementation;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+
+
+public class Activator implements BundleActivator {
+
+ private org.apache.muse.core.platform.osgi.Activator delegateActivator;
+ private MuseCompleteContribution museService;
+
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ delegateActivator = new org.apache.muse.core.platform.osgi.Activator();
+ delegateActivator.start(context);
+
+ //register contribution service
+ museService = new MuseCompleteContribution(context.getBundle());
+ Hashtable props = new Hashtable();
+ props.put(ResourceManagementImplementation.IMPLEMENTATION_NAME, museService.getImplementationName());
+ context.registerService(new String[] {"org.apache.muse.util.osgi.ResourceManagementImplementation"}, museService, props);
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ delegateActivator.stop(context);
+ }
+
+}
Added: webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/MuseCompleteContribution.java
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/MuseCompleteContribution.java?view=auto&rev=485299
==============================================================================
--- webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/MuseCompleteContribution.java (added)
+++ webservices/muse/trunk/modules/osgi-bundles/muse-complete/src/org/apache/muse/complete/MuseCompleteContribution.java Sun Dec 10 15:00:53 2006
@@ -0,0 +1,165 @@
+package org.apache.muse.complete;
+
+
+import org.apache.muse.util.osgi.AbstractResourceManagementImplementation;
+import org.apache.muse.util.osgi.CapabilityPair;
+import org.osgi.framework.Bundle;
+import org.osgi.framework.ServiceFactory;
+import org.osgi.framework.ServiceRegistration;
+
+/**
+ * WSASOAPContribution is an implementation of the <code>ResourceManagementImplementation</code>
+ * service interface for the WSA SOAP bundle.
+ *
+ * @see ResourceManagementImplementation
+ * @author Joel Hawkins (joelh)
+ *
+ */
+public class MuseCompleteContribution extends AbstractResourceManagementImplementation implements ServiceFactory {
+ private static final String IMPLEMENTATION_NAME = "muse-complete";
+
+ private static final String[] RESOURCE_SPECS = {
+ "SOAP-Envelope-1_2.xsd",
+ "WS-Addressing-2005_08.xsd",
+ "XML-Namespace-1998.xsd",
+ "WSDM-MUWS-Part2-1_1.wsdl",
+ "WSDM-MUWS-TopicSpace.xml",
+ "WSDM-MUWS-Part1-1_1.xsd",
+ "WSDM-MUWS-Part2-1_1.xsd",
+ "WSDM-MUWS-PBM.xsd",
+ "WS-BaseNotification-1_3.wsdl",
+ "WS-BaseNotification-1_3.xsd",
+ "WS-Topics-1_3.xsd",
+ "WS-BaseFaults-1_2.xsd",
+ "WS-Resource-1_2.wsdl",
+ "WS-Resource-1_2.xsd",
+ "WS-ResourceLifetime-1_2.wsdl",
+ "WS-ResourceLifetime-1_2.xsd",
+ "WS-ResourceMetadataDescriptor-CD-01.wsdl",
+ "WS-ResourceMetadataDescriptor-CD-01.xsd",
+ "WS-ResourceProperties-1_2.wsdl",
+ "WS-ResourceProperties-1_2.xsd",
+ "WS-ServiceGroup-1_2.wsdl",
+ "WS-ServiceGroup-1_2.xsd",
+ "WS-ServiceGroupEntry-1_2.wsdl",
+ "WS-MetadataExchange-2004_09.xsd"
+};
+
+
+ private static final String[] capabilityURI = {
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Advertisement",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Advertisement",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Advertisement",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Configuration",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/CorrelatableProperties",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Description",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Identity",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/ManageabilityCharacteristics",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Metrics",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/OperationalStatus",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/RelationshipResource",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/Relationships",
+ "http://docs.oasis-open.org/wsdm/muws/capabilities/State",
+ "http://docs.oasis-open.org/wsn/bw-2/NotificationProducer",
+ "http://docs.oasis-open.org/wsn/bw-2/NotificationConsumer",
+ "http://docs.oasis-open.org/wsn/bw-2/PullPoint",
+ "http://docs.oasis-open.org/wsn/bw-2/PullPointCreation",
+ "http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager",
+ "http://docs.oasis-open.org/wsrf/rlw-2/ImmediateResourceTermination",
+ "http://docs.oasis-open.org/wsrf/rlw-2/ScheduledResourceTermination",
+ "http://docs.oasis-open.org/wsrf/rp-2/Get",
+ "http://docs.oasis-open.org/wsrf/rp-2/Set",
+ "http://docs.oasis-open.org/wsrf/rp-2/Query",
+ "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata",
+ "http://docs.oasis-open.org/wsrf/rmd-1/ResourceMetadataCapability",
+ "http://docs.oasis-open.org/wsrf/sgw-2/ServiceGroup",
+ "http://docs.oasis-open.org/wsrf/sgw-2/ServiceGroupEntry",
+ "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata"
+ };
+
+ private static final String[] capabilityImplementation = {
+ "org.apache.muse.ws.dm.muws.adv.impl.SimpleAdvertisement",
+ "org.apache.muse.ws.dm.muws.adv.impl.ServiceGroupEntryAdvertisement",
+ "org.apache.muse.ws.dm.muws.adv.impl.BroadcastAdvertisement",
+ "org.apache.muse.ws.dm.muws.impl.SimpleConfiguration",
+ "org.apache.muse.ws.dm.muws.impl.SimpleCorrelatableProperties",
+ "org.apache.muse.ws.dm.muws.impl.SimpleDescription",
+ "org.apache.muse.ws.dm.muws.impl.SimpleIdentity",
+ "org.apache.muse.ws.dm.muws.impl.SimpleManageabilityCharacteristics",
+ "org.apache.muse.ws.dm.muws.impl.SimpleMetrics",
+ "org.apache.muse.ws.dm.muws.impl.SimpleOperationalStatus",
+ "org.apache.muse.ws.dm.muws.impl.SimpleRelationshipResource",
+ "org.apache.muse.ws.dm.muws.impl.SimpleRelationships",
+ "org.apache.muse.ws.dm.muws.impl.SimpleState",
+ "org.apache.muse.ws.notification.impl.SimpleNotificationProducer",
+ "org.apache.muse.ws.notification.impl.SimpleNotificationConsumer",
+ "org.apache.muse.ws.notification.impl.SimplePullPoint",
+ "org.apache.muse.ws.notification.impl.SimplePullPointCreation",
+ "org.apache.muse.ws.notification.impl.SimpleSubscriptionManager",
+ "org.apache.muse.ws.resource.lifetime.impl.SimpleImmediateTermination",
+ "org.apache.muse.ws.resource.lifetime.impl.SimpleScheduledTermination",
+ "org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability",
+ "org.apache.muse.ws.resource.properties.get.impl.SimpleSetCapability",
+ "org.apache.muse.ws.resource.properties.get.impl.SimpleQueryCapability",
+ "org.apache.muse.ws.metadata.impl.SimpleMetadataExchange",
+ "org.apache.muse.ws.resource.metadata.impl.SimpleResourceMetadataCapability",
+ "org.apache.muse.ws.resource.sg.impl.SimpleServiceGroup",
+ "org.apache.muse.ws.resource.sg.impl.SimpleEntry",
+ "org.apache.muse.ws.metadata.impl.SimpleMetadataExchange"
+ };
+
+ private static CapabilityPair[] capabilityCollection = {
+ new CapabilityPair(capabilityURI[0],capabilityImplementation[0]),
+ new CapabilityPair(capabilityURI[1],capabilityImplementation[1]),
+ new CapabilityPair(capabilityURI[2],capabilityImplementation[2]),
+ new CapabilityPair(capabilityURI[0],capabilityImplementation[0]),
+ new CapabilityPair(capabilityURI[1],capabilityImplementation[1]),
+ new CapabilityPair(capabilityURI[2],capabilityImplementation[2]),
+ new CapabilityPair(capabilityURI[3],capabilityImplementation[3]),
+ new CapabilityPair(capabilityURI[4],capabilityImplementation[4]),
+ new CapabilityPair(capabilityURI[5],capabilityImplementation[5]),
+ new CapabilityPair(capabilityURI[6],capabilityImplementation[6]),
+ new CapabilityPair(capabilityURI[7],capabilityImplementation[7]),
+ new CapabilityPair(capabilityURI[8],capabilityImplementation[8]),
+ new CapabilityPair(capabilityURI[9],capabilityImplementation[9]),
+ new CapabilityPair(capabilityURI[0],capabilityImplementation[0]),
+ new CapabilityPair(capabilityURI[1],capabilityImplementation[1]),
+ new CapabilityPair(capabilityURI[2],capabilityImplementation[2]),
+ new CapabilityPair(capabilityURI[3],capabilityImplementation[3]),
+ new CapabilityPair(capabilityURI[4],capabilityImplementation[4]),
+ new CapabilityPair(capabilityURI[0],capabilityImplementation[0]),
+ new CapabilityPair(capabilityURI[1],capabilityImplementation[1]),
+ new CapabilityPair(capabilityURI[2],capabilityImplementation[2]),
+ new CapabilityPair(capabilityURI[3],capabilityImplementation[3]),
+ new CapabilityPair(capabilityURI[4],capabilityImplementation[4]),
+ new CapabilityPair(capabilityURI[5],capabilityImplementation[5]),
+ new CapabilityPair(capabilityURI[6],capabilityImplementation[6]),
+ new CapabilityPair(capabilityURI[7],capabilityImplementation[7]),
+ new CapabilityPair(capabilityURI[8],capabilityImplementation[8]),
+ new CapabilityPair(capabilityURI[8],capabilityImplementation[8])
+ };
+
+
+ private static final String implementationNames[] = {
+ "org.apache.muse.ws.notification.impl.NotificationProducerFilePersistence",
+ "org.apache.muse.ws.resource.impl.SimpleWsResource"
+ };
+
+
+ public MuseCompleteContribution(Bundle bundle){
+ super(bundle);
+ this.implementationName = IMPLEMENTATION_NAME;
+ this.resourceSpecNames = RESOURCE_SPECS;
+ this.capabilityMappings = capabilityCollection;
+ this.resourceImplementationNames = implementationNames;
+ }
+
+
+ public Object getService(Bundle bundle, ServiceRegistration registration) {
+ return this;
+ }
+
+ public void ungetService(Bundle bundle, ServiceRegistration registration, Object service) {
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org