[jboss-osgi-commits] JBoss-OSGI SVN: r101330 - projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Tue Feb 23 09:02:44 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-02-23 09:02:43 -0500 (Tue, 23 Feb 2010)
New Revision: 101330

Removed:
   projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFramework.java
   projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFrameworkMBean.java
Log:
Remove ManagedFramework infavour of FrameworkMBean

Deleted: projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFramework.java
===================================================================
--- projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFramework.java	2010-02-23 14:01:24 UTC (rev 101329)
+++ projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFramework.java	2010-02-23 14:02:43 UTC (rev 101330)
@@ -1,67 +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.spi.management;
-
-
-//$Id$
-
-
-/**
- * The managed view of an OSGi Framework
- * 
- * Deprecated: Use FrameworkMBean
- * 
- * @author thomas.diesler at jboss.com
- * @since 04-Mar-2009
- */
-public interface ManagedFramework
-{
-   /**
-    * Returns a ServiceReference object for a service that implements and was registered 
-    * under the specified class.
-    */
-   ManagedServiceReference getServiceReference(String clazz);
-   
-   /**
-    * Returns an array of ManagedServiceReference objects. 
-    * The returned array of ManagedServiceReference objects contains services 
-    * that were registered under the specified class, match the specified filter criteria, 
-    * and the packages for the class names under which the services were registered.
-    */
-   ManagedServiceReference[] getServiceReferences(String clazz, String filter);
-   
-   /**
-    * Refresh packages through the PackageAdmin service
-    * 
-    * JMX FrameworkMBean does not allow to resolve/refresh all bundles
-    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1586
-    */
-   void refreshAllPackages();
-   
-   /**
-    * Resolve bundles through the PackageAdmin service
-    * 
-    * JMX FrameworkMBean does not allow to resolve/refresh all bundles
-    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1586
-    */
-   boolean resolveAllBundles();
-}
\ No newline at end of file

Deleted: projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFrameworkMBean.java
===================================================================
--- projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFrameworkMBean.java	2010-02-23 14:01:24 UTC (rev 101329)
+++ projects/jboss-osgi/projects/spi/trunk/src/main/java/org/jboss/osgi/spi/management/ManagedFrameworkMBean.java	2010-02-23 14:02:43 UTC (rev 101330)
@@ -1,40 +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.spi.management;
-
-//$Id$
-
-import javax.management.ObjectName;
-
-
-/**
- * The managed view of an OSGi Framework
- * 
- * @author thomas.diesler at jboss.com
- * @since 04-Mar-2009
- */
-public interface ManagedFrameworkMBean extends ManagedFramework
-{
-   /** The default object name: jboss.osgi:service=ManagedFramework */
-   ObjectName MBEAN_MANAGED_FRAMEWORK = ObjectNameFactory.create("jboss.osgi:service=ManagedFramework");
-
-}
\ No newline at end of file



More information about the jboss-osgi-commits mailing list