Package org.kie.api.internal.utils
Class ServiceRegistry.Impl
- java.lang.Object
- 
- org.kie.api.internal.utils.ServiceRegistry.Impl
 
- 
- All Implemented Interfaces:
- ServiceRegistry,- Service
 - Enclosing interface:
- ServiceRegistry
 
 public static class ServiceRegistry.Impl extends Object implements ServiceRegistry 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.kie.api.internal.utils.ServiceRegistryServiceRegistry.Impl, ServiceRegistry.ServiceRegistryHolder
 
- 
 - 
Constructor SummaryConstructors Constructor Description Impl()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(Class<T> cls)<T> List<T>getAll(Class<T> cls)static ServiceRegistrygetServiceRegistry()voidreload()voidreset()static voidsetSupplier(Supplier<ServiceRegistry> supplier)
 
- 
- 
- 
Method Detail- 
resetpublic void reset() 
 - 
reloadpublic void reload() 
 - 
getpublic <T> T get(Class<T> cls) - Specified by:
- getin interface- ServiceRegistry
 
 - 
getAllpublic <T> List<T> getAll(Class<T> cls) - Specified by:
- getAllin interface- ServiceRegistry
 
 - 
getServiceRegistrypublic static ServiceRegistry getServiceRegistry() 
 - 
setSupplierpublic static void setSupplier(Supplier<ServiceRegistry> supplier) 
 
- 
 
-