org.jboss.osgi.testing.internal
Class ManagementSupport

java.lang.Object
  extended by org.jboss.osgi.testing.internal.ManagementSupport

public class ManagementSupport
extends Object

A helper for bundle management.

Since:
25-Sep-2008
Author:
Thomas.Diesler@jboss.org

Constructor Summary
ManagementSupport(MBeanServerConnection mbeanServer)
           
 
Method Summary
 org.osgi.jmx.framework.BundleStateMBean getBundleStateMBean()
           
 ClipboardMBean getClipboardMBean()
           
 org.osgi.jmx.framework.FrameworkMBean getFrameworkMBean()
           
<T> T
getMBeanProxy(ObjectName name, Class<T> interf)
           
 MBeanServerConnection getMBeanServer()
           
 org.osgi.jmx.framework.PackageStateMBean getPackageStateMBean()
           
 org.osgi.jmx.framework.ServiceStateMBean getServiceStateMBean()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementSupport

public ManagementSupport(MBeanServerConnection mbeanServer)
Method Detail

getMBeanProxy

public <T> T getMBeanProxy(ObjectName name,
                           Class<T> interf)

getMBeanServer

public MBeanServerConnection getMBeanServer()

getFrameworkMBean

public org.osgi.jmx.framework.FrameworkMBean getFrameworkMBean()
                                                        throws IOException
Throws:
IOException

getBundleStateMBean

public org.osgi.jmx.framework.BundleStateMBean getBundleStateMBean()
                                                            throws IOException
Throws:
IOException

getPackageStateMBean

public org.osgi.jmx.framework.PackageStateMBean getPackageStateMBean()
                                                              throws IOException
Throws:
IOException

getServiceStateMBean

public org.osgi.jmx.framework.ServiceStateMBean getServiceStateMBean()
                                                              throws IOException
Throws:
IOException

getClipboardMBean

public ClipboardMBean getClipboardMBean()
                                 throws IOException
Throws:
IOException


Copyright © 2010. All Rights Reserved.