org.jboss.osgi.jmx
Interface ServiceStateMBeanExt

All Superinterfaces:
ServiceStateMBean

public interface ServiceStateMBeanExt
extends ServiceStateMBean

An extension to ServiceStateMBean.

Since:
04-Mar-2009
Author:
thomas.diesler@jboss.com

Field Summary
static String OBJECTNAME
          The default object name: jboss.osgi:service=jmx,type=ServiceState
 
Fields inherited from interface org.osgi.jmx.framework.ServiceStateMBean
BUNDLE_IDENTIFIER, BUNDLE_IDENTIFIER_ITEM, BUNDLE_LOCATION, BUNDLE_LOCATION_ITEM, BUNDLE_SYMBOLIC_NAME, BUNDLE_SYMBOLIC_NAME_ITEM, EVENT, EVENT_ITEM, IDENTIFIER, IDENTIFIER_ITEM, OBJECT_CLASS, OBJECT_CLASS_ITEM, SERVICE_EVENT_TYPE, SERVICE_TYPE, SERVICES_TYPE, USING_BUNDLES, USING_BUNDLES_ITEM
 
Method Summary
 CompositeData getService(String clazz)
          Returns a ServiceReference object for a service that implements and was registered under the specified class.
 TabularData getServices(String clazz, String filter)
          Returns an array of ManagedServiceReference objects.
 
Methods inherited from interface org.osgi.jmx.framework.ServiceStateMBean
getBundleIdentifier, getObjectClass, getProperties, getUsingBundles, listServices
 

Field Detail

OBJECTNAME

static final String OBJECTNAME
The default object name: jboss.osgi:service=jmx,type=ServiceState

See Also:
Constant Field Values
Method Detail

getService

CompositeData getService(String clazz)
                         throws IOException
Returns a ServiceReference object for a service that implements and was registered under the specified class. https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1602

Throws:
IOException

getServices

TabularData getServices(String clazz,
                        String filter)
                        throws IOException
Returns an array of ManagedServiceReference objects. https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1603 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.

Throws:
IOException


Copyright © 2010. All Rights Reserved.