public class OSGiClassLoaderServiceImpl extends ClassLoaderServiceImpl implements ClassLoaderService
ClassLoaderServiceImpl.Work<T>| Constructor and Description |
|---|
OSGiClassLoaderServiceImpl(OsgiClassLoader osgiClassLoader,
OsgiServiceUtil osgiServiceUtil) |
| Modifier and Type | Method and Description |
|---|---|
<S> LinkedHashSet<S> |
loadJavaServices(Class<S> serviceContract)
Discovers and instantiates implementations of the named service contract.
|
void |
stop()
Stop phase notification
|
classForName, fromConfigSettings, locateResource, locateResources, locateResourceStream, withTcclclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassForName, locateResource, locateResources, locateResourceStreampublic OSGiClassLoaderServiceImpl(OsgiClassLoader osgiClassLoader, OsgiServiceUtil osgiServiceUtil)
public <S> LinkedHashSet<S> loadJavaServices(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-2015 Red Hat, Inc. All Rights Reserved.