Hi Joel - I have not added the sample stuff (template, samples, and build 
script) to SVN yet, but I will have that included soon. In the meantime, I 
hope everything is in order - from change to the three OSGi isolation 
layer modules to the OSGi bundles. I checked all the bundles created in my 
own local repository, and they seem to be okay.

As for the distro - I think in our docs we can just tell OSGi users that 
all of the JARs (bundles) they need to worry about are in 
{binary-distribution}/modules/osgi. New developers building from source 
can get all the OSGi bundles under {local-repository}/muse-osgi.

Dan


----- Forwarded by Daniel Jemiolo/Durham/IBM on 08/02/2006 06:42 PM -----

[EMAIL PROTECTED] wrote on 08/02/2006 06:39:05 PM:

> Added: webservices/muse/trunk/modules/osgi-bundles/muse-wsx-
> impl/src/org/apache/muse/osgi/wsx/WSXImplementationService.java
> URL: http://svn.apache.org/viewvc/webservices/muse/trunk/modules/osgi-
> 
bundles/muse-wsx-impl/src/org/apache/muse/osgi/wsx/WSXImplementationService.
> java?rev=428178&view=auto
> 
==============================================================================
> --- webservices/muse/trunk/modules/osgi-bundles/muse-wsx-
> impl/src/org/apache/muse/osgi/wsx/WSXImplementationService.java (added)
> +++ webservices/muse/trunk/modules/osgi-bundles/muse-wsx-
> impl/src/org/apache/muse/osgi/wsx/WSXImplementationService.java Wed Aug 
2 15:39:01 2006
> @@ -0,0 +1,71 @@
> +package org.apache.muse.osgi.wsx;
> +
> +import java.util.HashMap;
> +import java.util.Map;
> +
> +import 
org.apache.muse.core.platform.osgi.ResourceManagementImplementation;
> +import org.osgi.framework.Bundle;
> +import org.osgi.framework.ServiceFactory;
> +import org.osgi.framework.ServiceRegistration;
> +
> +public class WSXImplementationService implements 
> ResourceManagementImplementation, ServiceFactory {
> +   private static final String IMPLEMENTATION_NAME = "wsx";
> +   private static final String[] RESOURCE_IMPLEMENTATIONS = 
> +      {};
> + 
> +   private static final String[] RESOURCE_SPECS = { 
> +   "WS-MetadataExchange-2004_09.xsd"
> +   };
> + 
> +   private static final String[] capabilityURI = {
> +      "http://schemas.xmlsoap.org/ws/2004/09/mex/GetMetadata";
> +   };
> + 
> +   private static final String[] capabilityImplementation = {
> +      "org.apache.muse.ws.metadata.impl.SimpleMetadataExchange"
> +   };
> + 
> +   private static HashMap capabilityMap;
> + 
> +   private Bundle bundle;
> + 
> +   static {
> +      capabilityMap = new HashMap();
> +      for(int i=0;i<capabilityURI.length;i++){
> +         capabilityMap.put(capabilityURI[i], 
capabilityImplementation[i]);
> +      }
> +   }
> + 
> +   public WSXImplementationService(Bundle bundle){
> +      this.bundle = bundle;
> +   }
> +
> +   public String getImplementationName() {
> +      return IMPLEMENTATION_NAME;
> +   }
> +
> +   public Map getResourceCapabilityMappings() {
> +      return capabilityMap;
> +   }
> +
> +   public String[] getResourceImplementationNames() {
> +      return RESOURCE_IMPLEMENTATIONS;
> +   }
> +
> +   public String[] getResourceSpecNames() {
> +      return RESOURCE_SPECS;
> +   }
> + 
> +   public Bundle getBundle(){
> +      return bundle;
> +   }
> +
> +   public Object getService(Bundle bundle, ServiceRegistration 
registration) {
> +      return this;
> +   }
> +
> +   public void ungetService(Bundle bundle, ServiceRegistration 
registration, 
> Object service) {
> +   }
> + 
> +
> +}
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to