org.apache.aries.util
Class SingleServiceTracker<T>

java.lang.Object
  extended by org.apache.aries.util.SingleServiceTracker<T>

public final class SingleServiceTracker<T>
extends Object


Nested Class Summary
static interface SingleServiceTracker.SingleServiceListener
           
 
Constructor Summary
SingleServiceTracker(BundleContext context, Class<T> clazz, SingleServiceTracker.SingleServiceListener sl)
           
 
Method Summary
 void close()
           
 T getService()
           
 ServiceReference getServiceReference()
           
 void open()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleServiceTracker

public SingleServiceTracker(BundleContext context,
                            Class<T> clazz,
                            SingleServiceTracker.SingleServiceListener sl)
Method Detail

getService

public T getService()

getServiceReference

public ServiceReference getServiceReference()

open

public void open()

close

public void close()


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.