[jboss-cvs] JBossAS SVN: r95925 - in projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer: internal and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Nov 2 12:22:33 EST 2009


Author: thomas.diesler at jboss.com
Date: 2009-11-02 12:22:32 -0500 (Mon, 02 Nov 2009)
New Revision: 95925

Removed:
   projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapabilityMarker.java
Modified:
   projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/internal/MicrocontainerServiceActivator.java
Log:
Remove capability marker

Deleted: projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapabilityMarker.java
===================================================================
--- projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapabilityMarker.java	2009-11-02 16:44:31 UTC (rev 95924)
+++ projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/MicrocontainerCapabilityMarker.java	2009-11-02 17:22:32 UTC (rev 95925)
@@ -1,35 +0,0 @@
-/*
- * 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$
-
-
-/**
- * A marker service for the jboss-osgi-microcontainer.jar
- * 
- * @author thomas.diesler at jboss.com
- * @since 01-Nov-2009
- */
-public interface MicrocontainerCapabilityMarker
-{
-}
\ No newline at end of file

Modified: projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/internal/MicrocontainerServiceActivator.java
===================================================================
--- projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/internal/MicrocontainerServiceActivator.java	2009-11-02 16:44:31 UTC (rev 95924)
+++ projects/jboss-osgi/projects/bundles/microcontainer/trunk/src/main/java/org/jboss/osgi/microcontainer/internal/MicrocontainerServiceActivator.java	2009-11-02 17:22:32 UTC (rev 95925)
@@ -27,7 +27,6 @@
 
 import org.jboss.deployers.client.spi.main.MainDeployer;
 import org.jboss.osgi.deployment.deployer.DeployerService;
-import org.jboss.osgi.microcontainer.MicrocontainerCapabilityMarker;
 import org.jboss.osgi.spi.service.MicrocontainerService;
 import org.osgi.framework.BundleActivator;
 import org.osgi.framework.BundleContext;
@@ -47,10 +46,6 @@
 
    public void start(BundleContext context)
    {
-      // Always register the marker service
-      MicrocontainerCapabilityMarker markerService = new MicrocontainerCapabilityMarker(){};
-      context.registerService(MicrocontainerCapabilityMarker.class.getName(), markerService, null);
-      
       // Do nothing if this bundle gets installed on the jbossmc framework
       String systemBundleName = context.getBundle(0).getSymbolicName();
       if ("org.jboss.osgi.framework".equals(systemBundleName))




More information about the jboss-cvs-commits mailing list