[jboss-osgi-commits] JBoss-OSGI SVN: r92735 - in projects/jboss-osgi/projects/runtime/microcontainer/trunk/src: main/java/org/jboss/osgi/plugins/facade and 6 other directories.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Mon Aug 24 06:42:39 EDT 2009


Author: thomas.diesler at jboss.com
Date: 2009-08-24 06:42:39 -0400 (Mon, 24 Aug 2009)
New Revision: 92735

Added:
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/api/SystemPackagesPlugin.java
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/classloading/
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/classloading/OSGiClassLoaderSystem.java
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/SystemPackagesPluginImpl.java
Removed:
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiClassLoaderSystem.java
Modified:
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleClassLoadingDeployer.java
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleStateDeployer.java
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/bundle/OSGiBundleManager.java
   projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/resources/bootstrap/bootstrap.xml
Log:
Externalize framework system package configuration

Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleClassLoadingDeployer.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleClassLoadingDeployer.java	2009-08-24 10:07:22 UTC (rev 92734)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleClassLoadingDeployer.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -33,6 +33,8 @@
 import org.jboss.deployers.spi.deployer.DeploymentStages;
 import org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer;
 import org.jboss.deployers.structure.spi.DeploymentUnit;
+import org.jboss.osgi.plugins.facade.api.SystemPackagesPlugin;
+import org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager;
 import org.jboss.osgi.spi.metadata.OSGiMetaData;
 import org.jboss.osgi.spi.metadata.PackageAttribute;
 
@@ -49,12 +51,23 @@
  */
 public class OSGiBundleClassLoadingDeployer extends AbstractSimpleRealDeployer<OSGiMetaData>
 {
+   /** The bundle manager */
+   private OSGiBundleManager bundleManager;
+   
    /**
     * Create a new OSGiBundleClassLoadingDeployer.
+    * 
+    * @param bundleManager the bundleManager
+    * @throws IllegalArgumentException for a null bundle manager
     */
-   public OSGiBundleClassLoadingDeployer()
+   public OSGiBundleClassLoadingDeployer(OSGiBundleManager bundleManager)
    {
       super(OSGiMetaData.class);
+      this.bundleManager = bundleManager;
+      
+      if (bundleManager == null)
+         throw new IllegalArgumentException("Null bundle manager");
+      
       setTopLevelOnly(true);
       setOutput(ClassLoadingMetaData.class);
       setStage(DeploymentStages.POST_PARSE);
@@ -73,10 +86,7 @@
       Capability capability = new ModuleCapability(metadata.getBundleSymbolicName(), metadata.getBundleVersion());
       classLoadingMetaData.getCapabilities().addCapability(capability);
 
-      // [TODO] externalise system packages
-      ArrayList<String> systemNames = new ArrayList<String>();
-      systemNames.add("org.osgi.framework");
-      
+      // [TODO] discuss wether import package requirements should resolve agains export capabilities
       ArrayList<String> exportedNames = new ArrayList<String>();
       
       List<PackageAttribute> exported = metadata.getExportPackages();
@@ -94,10 +104,11 @@
       List<PackageAttribute> imported = metadata.getImportPackages();
       if (imported != null)
       {
+         SystemPackagesPlugin syspackPlugin = bundleManager.getPlugin(SystemPackagesPlugin.class);
          for (PackageAttribute packageAttribute : imported)
          {
             String packageName = packageAttribute.getPackageInfo().getName();
-            if (systemNames.contains(packageName) == false && exportedNames.contains(packageName) == false)
+            if (syspackPlugin.isSystemPackage(packageName) == false && exportedNames.contains(packageName) == false)
             {
                // [TODO] add version ranges
                PackageRequirement requirement = new PackageRequirement(packageName);

Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleStateDeployer.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleStateDeployer.java	2009-08-24 10:07:22 UTC (rev 92734)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/deployers/bundle/OSGiBundleStateDeployer.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -52,6 +52,7 @@
    {
       if (bundleManager == null)
          throw new IllegalArgumentException("Null bundle manager");
+      
       this.bundleManager = bundleManager;
 
       setOutput(OSGiBundleState.class);

Added: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/api/SystemPackagesPlugin.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/api/SystemPackagesPlugin.java	                        (rev 0)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/api/SystemPackagesPlugin.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -0,0 +1,39 @@
+/*
+ * 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.plugins.facade.api;
+
+import java.util.List;
+
+//$Id$
+
+/**
+ * A plugin that provides the configured list of system packages.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 24-Aug-2009
+ */
+public interface SystemPackagesPlugin extends AbstractPlugin
+{
+   List<String> getSystemPackages();
+
+   boolean isSystemPackage(String name);
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/api/SystemPackagesPlugin.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/bundle/OSGiBundleManager.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/bundle/OSGiBundleManager.java	2009-08-24 10:07:22 UTC (rev 92734)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/bundle/OSGiBundleManager.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -126,6 +126,9 @@
    /** The registered manager plugins */
    private Map<Class<?>, AbstractPlugin> plugins = new HashMap<Class<?>, AbstractPlugin>();
    
+   /** The frame work properties */
+   private Map<String, Object> properties = new HashMap<String, Object>();
+   
    static
    {
       AccessController.doPrivileged(new PrivilegedAction<Object>()
@@ -190,8 +193,16 @@
       this.systemBundle = new OSGiSystemBundle(systemMetaData);
       addBundle(systemBundle);
    }
-   
+
    /**
+    * Set the framework properties
+    */
+   public void setProperties(Map<String, Object> properties)
+   {
+      this.properties = properties;
+   }
+
+   /**
     * Get a plugin that is registered with the bundle manager.
     * @throws IllegalStateException if the requested plugin class is not registered
     */

Copied: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/classloading/OSGiClassLoaderSystem.java (from rev 92733, projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiClassLoaderSystem.java)
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/classloading/OSGiClassLoaderSystem.java	                        (rev 0)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/classloading/OSGiClassLoaderSystem.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -0,0 +1,60 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2009, Red Hat Middleware LLC, and individual contributors
+* as indicated by the @author tags. See the copyright.txt file 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.plugins.facade.classloading;
+
+import org.jboss.classloader.plugins.filter.PatternClassFilter;
+import org.jboss.classloader.plugins.jdk.AbstractJDKChecker;
+import org.jboss.classloader.spi.ClassLoaderDomain;
+import org.jboss.classloader.spi.ClassLoaderSystem;
+import org.jboss.classloader.spi.ParentPolicy;
+import org.jboss.classloader.spi.filter.ClassFilter;
+import org.jboss.classloader.spi.filter.RecursivePackageClassFilter;
+import org.jboss.osgi.plugins.facade.bundle.OSGiBundleState;
+
+/**
+ * OSGiClassLoaderSystem.<p>
+ * 
+ * TODO Figure out how to make this more easily configurable
+ * 
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @version $Revision: 1.1 $
+ */
+public class OSGiClassLoaderSystem extends ClassLoaderSystem
+{
+   /**
+    * Create a new OSGiClassLoaderSystem.
+    */
+   public OSGiClassLoaderSystem()
+   {
+      ClassLoaderDomain domain = getDefaultDomain();
+      PatternClassFilter filter = RecursivePackageClassFilter.createRecursivePackageClassFilterFromString("org.osgi");
+      filter.setIncludeJava(true);
+      domain.setParentPolicy(new ParentPolicy(filter, ClassFilter.NOTHING));
+      AbstractJDKChecker.getExcluded().add(OSGiBundleState.class);
+   }
+
+   @Override
+   protected ClassLoaderDomain createDomain(String name)
+   {
+      return new ClassLoaderDomain(name);
+   }
+}
\ No newline at end of file

Added: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/SystemPackagesPluginImpl.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/SystemPackagesPluginImpl.java	                        (rev 0)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/SystemPackagesPluginImpl.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -0,0 +1,112 @@
+/*
+ * 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.plugins.facade.plugins;
+
+//$Id$
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import org.jboss.logging.Logger;
+import org.jboss.osgi.plugins.facade.api.SystemPackagesPlugin;
+import org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager;
+
+/**
+ * A plugin that installs/starts bundles on framework startup.
+ * 
+ * @author thomas.diesler at jboss.com
+ * @since 18-Aug-2009
+ */
+public class SystemPackagesPluginImpl extends AbstractPluginImpl implements SystemPackagesPlugin
+{
+   // Provide logging
+   final Logger log = Logger.getLogger(SystemPackagesPluginImpl.class);
+   
+   /** The configured system packages */
+   private List<String> systemPackages = new ArrayList<String>();
+   /** The configured extra system packages */
+   private List<String> extraPackages = new ArrayList<String>();
+   
+   /** The derived combination of all system packages */
+   private List<String> allPackages = new ArrayList<String>();
+   /** The derived combination of all system packages without version specifier */
+   private List<String> allPackageNames = new ArrayList<String>();
+   
+   public SystemPackagesPluginImpl(OSGiBundleManager bundleManager)
+   {
+      super(bundleManager);
+   }
+   
+   public void setSystemPackages(List<String> systemPackages)
+   {
+      this.systemPackages = systemPackages;
+   }
+   public void setExtraPackages(List<String> extraPackages)
+   {
+      this.extraPackages = extraPackages;
+   }
+   
+   public void start()
+   {
+      if (systemPackages.size() == 0)
+      {
+         systemPackages.add("org.osgi.framework");
+         systemPackages.add("org.osgi.service.startlevel");
+         systemPackages.add("org.osgi.service.packageadmin");
+         systemPackages.add("org.osgi.util.tracker");
+      }
+      
+      allPackages.addAll(systemPackages);
+      allPackages.addAll(extraPackages);
+      
+      Collections.sort(allPackages);
+      
+      for (String name : allPackages)
+      {
+         int semiIndex = name.indexOf(';');
+         if (semiIndex > 0)
+            name = name.substring(0, semiIndex);
+         
+         allPackageNames.add(name);
+      }
+   }
+   
+   @Override
+   public List<String> getSystemPackages()
+   {
+      return Collections.unmodifiableList(allPackages);
+   }
+   
+   public boolean isSystemPackage(String name)
+   {
+      if(name == null)
+         throw new IllegalArgumentException("Null package name");
+      
+      // [TODO] version specifier for system packages
+      int semiIndex = name.indexOf(';');
+      if (semiIndex > 0)
+         name = name.substring(0, semiIndex);
+      
+      return allPackageNames.contains(name);
+   }
+}
\ No newline at end of file


Property changes on: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/main/java/org/jboss/osgi/plugins/facade/plugins/SystemPackagesPluginImpl.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Deleted: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiClassLoaderSystem.java
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiClassLoaderSystem.java	2009-08-24 10:07:22 UTC (rev 92734)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/java/org/jboss/test/osgi/OSGiClassLoaderSystem.java	2009-08-24 10:42:39 UTC (rev 92735)
@@ -1,60 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2009, Red Hat Middleware LLC, and individual contributors
-* as indicated by the @author tags. See the copyright.txt file 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.test.osgi;
-
-import org.jboss.classloader.plugins.filter.PatternClassFilter;
-import org.jboss.classloader.plugins.jdk.AbstractJDKChecker;
-import org.jboss.classloader.spi.ClassLoaderDomain;
-import org.jboss.classloader.spi.ClassLoaderSystem;
-import org.jboss.classloader.spi.ParentPolicy;
-import org.jboss.classloader.spi.filter.ClassFilter;
-import org.jboss.classloader.spi.filter.RecursivePackageClassFilter;
-import org.jboss.osgi.plugins.facade.bundle.OSGiBundleState;
-
-/**
- * OSGiClassLoaderSystem.<p>
- * 
- * TODO Figure out how to make this more easily configurable
- * 
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-public class OSGiClassLoaderSystem extends ClassLoaderSystem
-{
-   /**
-    * Create a new OSGiClassLoaderSystem.
-    */
-   public OSGiClassLoaderSystem()
-   {
-      ClassLoaderDomain domain = getDefaultDomain();
-      PatternClassFilter filter = RecursivePackageClassFilter.createRecursivePackageClassFilterFromString("org.osgi");
-      filter.setIncludeJava(true);
-      domain.setParentPolicy(new ParentPolicy(filter, ClassFilter.NOTHING));
-      AbstractJDKChecker.getExcluded().add(OSGiBundleState.class);
-   }
-
-   @Override
-   protected ClassLoaderDomain createDomain(String name)
-   {
-      return new ClassLoaderDomain(name);
-   }
-}
\ No newline at end of file

Modified: projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/resources/bootstrap/bootstrap.xml
===================================================================
--- projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/resources/bootstrap/bootstrap.xml	2009-08-24 10:07:22 UTC (rev 92734)
+++ projects/jboss-osgi/projects/runtime/microcontainer/trunk/src/test/resources/bootstrap/bootstrap.xml	2009-08-24 10:42:39 UTC (rev 92735)
@@ -10,10 +10,20 @@
   
   <bean name="OSGiBundleManager" class="org.jboss.osgi.plugins.facade.bundle.OSGiBundleManager">
     <constructor><parameter><inject bean="MainDeployer" /></parameter></constructor>
+    <property name="properties">
+      <map keyClass="java.lang.String" valueClass="java.lang.String">
+        <entry><key>org.osgi.framework.storage</key><value>${log4j.output.dir}/osgi-store</value></entry>
+        <entry><key>org.osgi.framework.storage.clean</key><value>onFirstInit</value></entry>
+      </map>
+    </property>
     <incallback method="addPlugin" />
     <uncallback method="removePlugin" />
   </bean>
   
+  <bean name="OSGiSystemPackages" class="org.jboss.osgi.plugins.facade.plugins.SystemPackagesPluginImpl">
+    <constructor><parameter><inject bean="OSGiBundleManager" /></parameter></constructor>
+  </bean>
+  
   <bean name="OSGiStoragePlugin" class="org.jboss.osgi.plugins.facade.plugins.BundleStoragePluginImpl">
     <constructor><parameter><inject bean="OSGiBundleManager" /></parameter></constructor>
   </bean>
@@ -70,11 +80,11 @@
   <!-- OSGI Deployment -->
   <bean name="OSGiManifestParsingDeployer" class="org.jboss.osgi.plugins.deployers.bundle.OSGiManifestParsingDeployer" />
   <bean name="OSGiBundleStateDeployer" class="org.jboss.osgi.plugins.deployers.bundle.OSGiBundleStateDeployer">
-    <constructor>
-      <parameter><inject bean="OSGiBundleManager" /></parameter>
-    </constructor>
+    <constructor><parameter><inject bean="OSGiBundleManager" /></parameter></constructor>
   </bean>
-  <bean name="OSGiBundleClassLoadingDeployer" class="org.jboss.osgi.plugins.deployers.bundle.OSGiBundleClassLoadingDeployer" />
+  <bean name="OSGiBundleClassLoadingDeployer" class="org.jboss.osgi.plugins.deployers.bundle.OSGiBundleClassLoadingDeployer" >
+    <constructor><parameter><inject bean="OSGiBundleManager" /></parameter></constructor>
+  </bean>
   <bean name="OSGiBundleActivatorDeployer" class="org.jboss.osgi.plugins.deployers.bundle.OSGiBundleActivatorDeployer" />
 
   <!--
@@ -86,17 +96,11 @@
   -->
   
   <!-- ClassLoading -->
-  <bean name="ClassLoaderSystem" class="org.jboss.test.osgi.OSGiClassLoaderSystem" />
+  <bean name="ClassLoaderSystem" class="org.jboss.osgi.plugins.facade.classloading.OSGiClassLoaderSystem" />
   <bean name="ClassLoading" class="org.jboss.classloading.spi.dependency.ClassLoading">
     <incallback method="addModule" state="Configured" />
     <uncallback method="removeModule" state="Configured" />
   </bean>
-  <bean name="ClassLoadingMetaDataParser" class="org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer">
-    <constructor>
-      <parameter>org.jboss.classloading.spi.metadata.ClassLoadingMetaData</parameter>
-    </constructor>
-    <property name="name">jboss-classloading.xml</property>
-  </bean>
   <bean name="ClassLoadingDefaultDeployer" class="org.jboss.deployers.plugins.classloading.ClassLoadingDefaultDeployer">
     <property name="defaultMetaData">
       <classloading xmlns="urn:jboss:classloading:1.0" export-all="NON_EMPTY" import-all="true" />



More information about the jboss-osgi-commits mailing list