public class ServicePair<T> extends Object
Constructor and Description |
---|
ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef) |
ServicePair(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference serviceRef,
T service) |
public ServicePair(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference serviceRef)
public ServicePair(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference serviceRef, T service)
public T get()
public boolean isValid()
public void unget()
public org.osgi.framework.ServiceReference getReference()
Copyright © 2013. All rights reserved.