public interface ServiceRegistry extends Service
Modifier and Type | Interface and Description |
---|---|
static class |
ServiceRegistry.Impl |
static class |
ServiceRegistry.ServiceRegistryHolder |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> cls) |
<T> List<T> |
getAll(Class<T> cls) |
static ServiceRegistry |
getInstance() |
static <T> T |
getService(Class<T> cls) |
static <R,A> Optional<R> |
ifSupported(Class<A> clazz,
Function<A,R> executed) |
static boolean |
isSupported(Class<?> clazz) |
static <T> T getService(Class<T> cls)
static ServiceRegistry getInstance()
<T> T get(Class<T> cls)
static boolean isSupported(Class<?> clazz)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.