public class ServiceHolder<T> extends Object implements AutoCloseable
ServiceHolder(org.osgi.framework.ServiceReference<T> serviceReference)
void
close()
T
getService()
release()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ServiceHolder(org.osgi.framework.ServiceReference<T> serviceReference)
public T getService()
public void release()
public void close() throws Exception
close
AutoCloseable
Exception
Copyright © 2021. All rights reserved.