Class ClassLoaderServiceImpl
java.lang.Object
org.infinispan.search.mapper.mapping.impl.ClassLoaderServiceImpl
- All Implemented Interfaces:
org.hibernate.search.engine.environment.classpath.spi.ClassResolver
,org.hibernate.search.engine.environment.classpath.spi.ResourceResolver
,org.hibernate.search.engine.environment.classpath.spi.ServiceResolver
public final class ClassLoaderServiceImpl
extends Object
implements org.hibernate.search.engine.environment.classpath.spi.ClassResolver, org.hibernate.search.engine.environment.classpath.spi.ResourceResolver, org.hibernate.search.engine.environment.classpath.spi.ServiceResolver
An implementation of the
ClassResolver
, ResourceResolver
and ServiceResolver
contracts that just delegates loading to an actual ClassLoader
.- Since:
- 9.2
- Author:
- anistor@redhat.com
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
classForName
(String className) <S> Iterable<S>
loadJavaServices
(Class<S> serviceContract) locateResourceStream
(String name)
-
Constructor Details
-
ClassLoaderServiceImpl
-
-
Method Details
-
classForName
- Specified by:
classForName
in interfaceorg.hibernate.search.engine.environment.classpath.spi.ClassResolver
-
locateResourceStream
- Specified by:
locateResourceStream
in interfaceorg.hibernate.search.engine.environment.classpath.spi.ResourceResolver
-
loadJavaServices
- Specified by:
loadJavaServices
in interfaceorg.hibernate.search.engine.environment.classpath.spi.ServiceResolver
-