Package io.smallrye.graphql.spi
Interface ClassloadingService
-
- All Known Implementing Classes:
ClassloadingService.DefaultClassloadingService
public interface ClassloadingService
Classloading service that will load classes By default, TCCL will be use.- Author:
- Phillip Kruger ([email protected]), Andy McCright ([email protected])
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClassloadingService.DefaultClassloadingService
Default Lookup service that gets used when none is provided with SPI.
-
Field Summary
Fields Modifier and Type Field Description static ClassloadingService
classloadingService
static ServiceLoader<ClassloadingService>
classloadingServices
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ClassloadingService
get()
String
getName()
static ClassloadingService
load()
default Class<?>
loadClass(String className)
default Class<?>
loadClass(String className, ClassLoader loader)
-
-
-
Field Detail
-
classloadingServices
static final ServiceLoader<ClassloadingService> classloadingServices
-
classloadingService
static final ClassloadingService classloadingService
-
-
Method Detail
-
get
static ClassloadingService get()
-
load
static ClassloadingService load()
-
getName
String getName()
-
loadClass
default Class<?> loadClass(String className, ClassLoader loader) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
-