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 java.lang.Object
implements ManagedServiceMBean


Constructor Summary
ManagedService(org.osgi.framework.ServiceReference svc)
           
 
Method Summary
 java.lang.String getBundle()
           
 java.util.Hashtable getProperties()
           
 java.lang.String[] getServiceInterfaces()
           
 java.lang.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(org.osgi.framework.ServiceReference svc)
Method Detail

getBundle

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

getProperties

public java.util.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 java.lang.String[] getUsingBundles()
Specified by:
getUsingBundles in interface ManagedServiceMBean
Returns:
the symbolic names of the bundles using the service

getServiceInterfaces

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