[jboss-cvs] JBossAS SVN: r91020 - in projects/jboss-osgi: projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb and 10 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 9 15:56:30 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-07-09 15:56:29 -0400 (Thu, 09 Jul 2009)
New Revision: 91020

Added:
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBCapability.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBService.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingCapability.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingService.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/JMXCapability.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/JNDICapability.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapability.java
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/
   projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/XMLParserCapability.java
Modified:
   projects/jboss-osgi/projects/runtime/felix/trunk/src/main/resources/osgi-deployers-jboss-beans.xml
   projects/jboss-osgi/trunk/blueprint/impl/pom.xml
   projects/jboss-osgi/trunk/blueprint/pom.xml
   projects/jboss-osgi/trunk/blueprint/testsuite/pom.xml
   projects/jboss-osgi/trunk/pom.xml
Log:
Fix JBossAS integration

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBCapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBCapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBCapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jaxb;
+
+//$Id$
+
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+import org.jboss.osgi.xml.XMLParserCapability;
+
+/**
+ * Adds the JAXB capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link JAXBService} is already registered.
+ * 
+ * Dependent capabilities: {@link XMLParserCapability}.
+ * 
+ * Installed bundles: jboss-osgi-jaxb.jar
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class JAXBCapability extends Capability
+{
+   public JAXBCapability()
+   {
+      super(JAXBService.class.getName());
+      
+      addDependency(new XMLParserCapability());
+      addBundle("bundles/jboss-osgi-jaxb.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBCapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBService.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBService.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBService.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jaxb;
+
+//$Id$
+
+/**
+ * A marker service that is registered by jboss-osgi-jaxb
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 29-May-2009
+ */
+public interface JAXBService
+{
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jaxb/JAXBService.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingCapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingCapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingCapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jbossxb;
+
+//$Id$
+
+import org.jboss.osgi.jaxb.JAXBCapability;
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+
+/**
+ * Adds the JBossXB capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link XMLBindingService} is already registered.
+ * 
+ * Dependent capabilities: {@link JAXBCapability}.
+ * 
+ * Installed bundles: jboss-osgi-common-core.jar, jboss-osgi-xml-binding.jar
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class XMLBindingCapability extends Capability
+{
+   public XMLBindingCapability()
+   {
+      super (XMLBindingService.class.getName());
+      
+      addDependency(new JAXBCapability());
+      addBundle("bundles/jboss-osgi-common-core.jar");
+      addBundle("bundles/jboss-osgi-xml-binding.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingCapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingService.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingService.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingService.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jbossxb;
+
+//$Id$
+
+/**
+ * A marker service that is registered by jboss-osgi-xml-binding
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 29-May-2009
+ */
+public interface XMLBindingService
+{
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jbossxb/XMLBindingService.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/JMXCapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/JMXCapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/JMXCapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jmx;
+
+//$Id$
+
+import java.util.Properties;
+
+import javax.management.MBeanServer;
+
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+
+/**
+ * Adds the JMX capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link MBeanServer} is already registered.
+ * 
+ * Installed bundles: jboss-osgi-jmx.jar
+ * 
+ * Default properties set by this capability
+ * 
+ * <table>
+ * <tr><th>Property</th><th>Value</th></tr> 
+ * <tr><td>org.jboss.osgi.jmx.host</td><td>${jboss.bind.address}</td></tr> 
+ * <tr><td>org.jboss.osgi.jmx.rmi.port</td><td>1198</td></tr> 
+ * </table>
+ *  
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class JMXCapability extends Capability
+{
+   public JMXCapability()
+   {
+      super(MBeanServer.class.getName());
+      
+      Properties props = getProperties();
+      props.setProperty("org.jboss.osgi.jmx.host", System.getProperty("jboss.bind.address", "localhost"));
+      props.setProperty("org.jboss.osgi.jmx.rmi.port", "1198");
+      
+      addBundle("bundles/jboss-osgi-jmx.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jmx/JMXCapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/JNDICapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/JNDICapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/JNDICapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,67 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.jndi;
+
+//$Id$
+
+import java.util.Properties;
+
+import javax.naming.InitialContext;
+
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+
+/**
+ * Adds the JNDI capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link InitialContext} is already registered.
+ * 
+ * Installed bundles: jboss-osgi-common-core.jar, jboss-osgi-jndi.jar
+ * 
+ * Default properties set by this capability
+ * 
+ * <table>
+ * <tr><th>Property</th><th>Value</th></tr> 
+ * <tr><td>org.jboss.osgi.jndi.host</td><td>${jboss.bind.address}</td></tr> 
+ * <tr><td>org.jboss.osgi.jndi.rmi.port</td><td>1198</td></tr> 
+ * <tr><td>org.jboss.osgi.jndi.port</td><td>1199</td></tr> 
+ * </table>
+ *  
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class JNDICapability extends Capability
+{
+   public JNDICapability()
+   {
+      super(InitialContext.class.getName());
+      
+      Properties props = getProperties();
+      props.setProperty("org.jboss.osgi.jndi.host", System.getProperty("jboss.bind.address", "localhost"));
+      props.setProperty("org.jboss.osgi.jndi.rmi.port", "1198");
+      props.setProperty("org.jboss.osgi.jndi.port", "1199");
+      
+      addBundle("bundles/jboss-osgi-common-core.jar");
+      addBundle("bundles/jboss-osgi-jndi.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/jndi/JNDICapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.microcontainer;
+
+//$Id$
+
+import org.jboss.osgi.jbossxb.XMLBindingCapability;
+import org.jboss.osgi.jmx.JMXCapability;
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.service.MicrocontainerService;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+
+/**
+ * Adds the Microcontainer capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link MicrocontainerService} is already registered.
+ * 
+ * Dependent capabilities: {@link JMXCapability}, {@link XMLBindingCapability}.
+ * 
+ * Installed bundles: jboss-osgi-microcontainer.jar
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class MicrocontainerCapability extends Capability
+{
+   public MicrocontainerCapability()
+   {
+      super(MicrocontainerService.class.getName());
+      
+      addDependency(new JMXCapability());
+      addDependency(new XMLBindingCapability());
+      addBundle("bundles/jboss-osgi-microcontainer.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/XMLParserCapability.java
===================================================================
--- projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/XMLParserCapability.java	                        (rev 0)
+++ projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/XMLParserCapability.java	2009-07-09 19:56:29 UTC (rev 91020)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.osgi.xml;
+
+//$Id$
+
+import javax.xml.parsers.SAXParserFactory;
+
+import org.jboss.osgi.spi.capability.Capability;
+import org.jboss.osgi.spi.testing.OSGiRuntime;
+
+/**
+ * Adds the XML parser capability to the {@link OSGiRuntime}
+ * under test. 
+ * 
+ * It is ignored if the {@link SAXParserFactory} is already registered.
+ * 
+ * Installed bundles: jboss-osgi-apache-xerces.jar
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 05-May-2009
+ */
+public class XMLParserCapability extends Capability
+{
+   public XMLParserCapability()
+   {
+      super(SAXParserFactory.class.getName());
+      
+      addBundle("bundles/jboss-osgi-apache-xerces.jar");
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/integration/jbossas/trunk/src/main/java/org/jboss/osgi/xml/XMLParserCapability.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: projects/jboss-osgi/projects/runtime/felix/trunk/src/main/resources/osgi-deployers-jboss-beans.xml
===================================================================
--- projects/jboss-osgi/projects/runtime/felix/trunk/src/main/resources/osgi-deployers-jboss-beans.xml	2009-07-09 19:51:27 UTC (rev 91019)
+++ projects/jboss-osgi/projects/runtime/felix/trunk/src/main/resources/osgi-deployers-jboss-beans.xml	2009-07-09 19:56:29 UTC (rev 91020)
@@ -29,13 +29,16 @@
             org.apache.xerces.dom,
             
             <!-- jboss-osgi -->
+            org.jboss.osgi.jmx;version=1.0,
+            org.jboss.osgi.jndi;version=1.0,
+            org.jboss.osgi.microcontainer;version=1.0,
             org.jboss.osgi.spi;version=1.0,
             org.jboss.osgi.spi.capability;version=1.0,
             org.jboss.osgi.spi.logging;version=1.0,
             org.jboss.osgi.spi.management;version=1.0,
             org.jboss.osgi.spi.service;version=1.0,
             org.jboss.osgi.spi.testing;version=1.0,
-		  	org.jboss.osgi.spi.util;version=1.0, 
+            org.jboss.osgi.spi.util;version=1.0, 
             
             <!-- jboss -->
             org.jboss.beans.metadata.plugins,

Modified: projects/jboss-osgi/trunk/blueprint/impl/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/blueprint/impl/pom.xml	2009-07-09 19:51:27 UTC (rev 91019)
+++ projects/jboss-osgi/trunk/blueprint/impl/pom.xml	2009-07-09 19:56:29 UTC (rev 91020)
@@ -11,7 +11,7 @@
   <parent>
     <groupId>org.jboss.osgi</groupId>
     <artifactId>jboss-osgi-blueprint-parent</artifactId>
-    <version>1.0.0.Beta3</version>
+    <version>1.0.0-SNAPSHOT</version>
   </parent>
 
   <!-- Dependencies -->

Modified: projects/jboss-osgi/trunk/blueprint/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/blueprint/pom.xml	2009-07-09 19:51:27 UTC (rev 91019)
+++ projects/jboss-osgi/trunk/blueprint/pom.xml	2009-07-09 19:56:29 UTC (rev 91020)
@@ -7,6 +7,8 @@
   <artifactId>jboss-osgi-blueprint-parent</artifactId>
   <packaging>pom</packaging>
 
+  <version>1.0.0-SNAPSHOT</version>
+  
   <parent>
     <groupId>org.jboss.osgi</groupId>
     <artifactId>jboss-osgi</artifactId>

Modified: projects/jboss-osgi/trunk/blueprint/testsuite/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/blueprint/testsuite/pom.xml	2009-07-09 19:51:27 UTC (rev 91019)
+++ projects/jboss-osgi/trunk/blueprint/testsuite/pom.xml	2009-07-09 19:56:29 UTC (rev 91020)
@@ -10,7 +10,7 @@
   <parent>
     <groupId>org.jboss.osgi</groupId>
     <artifactId>jboss-osgi-blueprint-parent</artifactId>
-    <version>1.0.0.Beta3</version>
+    <version>1.0.0-SNAPSHOT</version>
   </parent>
 
   <!-- Dependencies -->
@@ -18,9 +18,13 @@
     <dependency>
       <groupId>org.jboss.osgi</groupId>
       <artifactId>jboss-osgi-blueprint</artifactId>
-      <version>${version}</version>
       <scope>provided</scope>
     </dependency>
+    <dependency>
+      <groupId>org.jboss.osgi</groupId>
+      <artifactId>jboss-osgi-husky-harness</artifactId>
+      <scope>provided</scope>
+    </dependency>
     
     <dependency>
       <groupId>biz.aQute</groupId>

Modified: projects/jboss-osgi/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/pom.xml	2009-07-09 19:51:27 UTC (rev 91019)
+++ projects/jboss-osgi/trunk/pom.xml	2009-07-09 19:56:29 UTC (rev 91020)
@@ -40,6 +40,7 @@
     <version.jboss.microcontainer>2.0.5.GA</version.jboss.microcontainer>
     <version.jboss.naming>5.0.1.GA</version.jboss.naming>
     <version.jboss.osgi.apache.xerces>2.9.1-SNAPSHOT</version.jboss.osgi.apache.xerces>
+    <version.jboss.osgi.blueprint>1.0.0-SNAPSHOT</version.jboss.osgi.blueprint>
     <version.jboss.osgi.common>1.0.0-SNAPSHOT</version.jboss.osgi.common>
     <version.jboss.osgi.common.core>2.2.11</version.jboss.osgi.common.core>
     <version.jboss.osgi.deployers>1.0.0-SNAPSHOT</version.jboss.osgi.deployers>
@@ -136,6 +137,11 @@
         <version>${version.jboss.naming}</version>
       </dependency>
       <dependency>
+	    <groupId>org.jboss.osgi</groupId>
+	    <artifactId>jboss-osgi-blueprint</artifactId>
+	    <version>${version.jboss.osgi.blueprint}</version>
+	  </dependency>
+      <dependency>
         <groupId>org.jboss.osgi</groupId>
         <artifactId>jboss-osgi-deployers</artifactId>
         <version>${version.jboss.osgi.deployers}</version>




More information about the jboss-cvs-commits mailing list