public class OSGiClassLoaderServiceImpl extends org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl implements ClassLoaderService
ClassLoaderService.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, generateProxy, locateResource, locateResources, locateResourceStream, packageForNameOrNull, workWithClassLoader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
classForName, generateProxy, locateResource, locateResources, locateResourceStream, packageForNameOrNull, workWithClassLoader
public OSGiClassLoaderServiceImpl(OsgiClassLoader osgiClassLoader, OsgiServiceUtil osgiServiceUtil)
public <S> LinkedHashSet<S> loadJavaServices(Class<S> serviceContract)
ClassLoaderService
Service
. Instead here we are talking about
services as defined by ServiceLoader
.loadJavaServices
in interface ClassLoaderService
loadJavaServices
in class org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl
S
- The type of the service contractserviceContract
- The java type defining the service contractCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.