org.apache.felix.jmood.core
Class ManagedService

java.lang.Object
  extended by org.apache.felix.jmood.core.ManagedService
All Implemented Interfaces:
ManagedServiceMBean

public class ManagedService
extends Object
implements ManagedServiceMBean


Constructor Summary
ManagedService(ServiceReference svc)
           
 
Method Summary
 String getBundle()
           
 Hashtable getProperties()
           
 String[] getServiceInterfaces()
           
 String[] getUsingBundles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedService

public ManagedService(ServiceReference svc)
Method Detail

getBundle

public String getBundle()
Specified by:
getBundle in interface ManagedServiceMBean
Returns:
The registering bundle symbolic name

getProperties

public Hashtable getProperties()
Specified by:
getProperties in interface ManagedServiceMBean
Returns:
a hashtable containing the same properties contained in the dictionary object used when registering the service. These include the standard mandatory service.id and objectClass properties as defined in the org.osgi.framework.Constants interface
See Also:
Constants

getUsingBundles

public String[] getUsingBundles()
Specified by:
getUsingBundles in interface ManagedServiceMBean
Returns:
the symbolic names of the bundles using the service

getServiceInterfaces

public String[] getServiceInterfaces()
Specified by:
getServiceInterfaces in interface ManagedServiceMBean


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.