com.caucho.loader.osgi
Class OsgiServiceReference

java.lang.Object
  extended by com.caucho.loader.osgi.OsgiServiceReference

public class OsgiServiceReference
extends java.lang.Object

An osgi service reference


Method Summary
 int compareTo(java.lang.Object reference)
          Compares to another reference for ordering
 Bundle getBundle()
          Returns the bundle that registered the service
 java.lang.Object getProperty(java.lang.String key)
          Returns the service's property
 java.lang.String[] getPropertyKeys()
          Returns all the service's property keys
 Bundle[] getUsingBundles()
          Returns the bundles using the service
 boolean isAssignableTo(Bundle bundle, java.lang.String className)
          Checks if the bundled which registered the service uses this class name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String key)
Returns the service's property


getPropertyKeys

public java.lang.String[] getPropertyKeys()
Returns all the service's property keys


getBundle

public Bundle getBundle()
Returns the bundle that registered the service


getUsingBundles

public Bundle[] getUsingBundles()
Returns the bundles using the service


isAssignableTo

public boolean isAssignableTo(Bundle bundle,
                              java.lang.String className)
Checks if the bundled which registered the service uses this class name


compareTo

public int compareTo(java.lang.Object reference)
Compares to another reference for ordering


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object