Package org.kie.api.internal.utils
Interface ServiceRegistry
-
- All Superinterfaces:
Service
- All Known Implementing Classes:
ServiceRegistry.Impl
public interface ServiceRegistry extends Service
Internal Interface
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceRegistry.Implstatic classServiceRegistry.ServiceRegistryHolder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Tget(Class<T> cls)<T> List<T>getAll(Class<T> cls)static ServiceRegistrygetInstance()static <T> TgetService(Class<T> cls)static <R,A>
Optional<R>ifSupported(Class<A> clazz, Function<A,R> executed)static booleanisSupported(Class<?> clazz)
-
-
-
Method Detail
-
getService
static <T> T getService(Class<T> cls)
-
getInstance
static ServiceRegistry getInstance()
-
get
<T> T get(Class<T> cls)
-
isSupported
static boolean isSupported(Class<?> clazz)
-
-