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.ServiceRegistry
ServiceRegistry.Impl, ServiceRegistry.ServiceRegistryHolder 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Impl() 
- 
Method Summary
All 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
- 
reset
public void reset()
 
- 
reload
public void reload()
 
- 
get
public <T> T get(Class<T> cls)
- Specified by:
 getin interfaceServiceRegistry
 
- 
getAll
public <T> List<T> getAll(Class<T> cls)
- Specified by:
 getAllin interfaceServiceRegistry
 
- 
getServiceRegistry
public static ServiceRegistry getServiceRegistry()
 
- 
setSupplier
public static void setSupplier(Supplier<ServiceRegistry> supplier)
 
 - 
 
 -