public class OSGiClassLoaderServiceImpl extends ClassLoaderServiceImpl implements ClassLoaderService
ClassLoaderService.Work<T>| Constructor and Description |
|---|
OSGiClassLoaderServiceImpl(OsgiClassLoader osgiClassLoader,
OsgiServiceUtil osgiServiceUtil) |
| Modifier and Type | Method and Description |
|---|---|
<S> java.util.LinkedHashSet<S> |
loadJavaServices(java.lang.Class<S> serviceContract)
Discovers and instantiates implementations of the named service contract.
|
void |
stop()
Stop phase notification
|
classForName, fromConfigSettings, generateProxy, locateResource, locateResources, locateResourceStream, workWithClassLoaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassForName, generateProxy, locateResource, locateResources, locateResourceStream, workWithClassLoaderpublic OSGiClassLoaderServiceImpl(OsgiClassLoader osgiClassLoader, OsgiServiceUtil osgiServiceUtil)
public <S> java.util.LinkedHashSet<S> loadJavaServices(java.lang.Class<S> serviceContract)
ClassLoaderServiceService. Instead here we are talking about
services as defined by ServiceLoader.loadJavaServices in interface ClassLoaderServiceloadJavaServices in class ClassLoaderServiceImplS - The type of the service contractserviceContract - The java type defining the service contractpublic void stop()
Stoppablestop in interface Stoppablestop in class ClassLoaderServiceImplCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.