public static class ServiceRegistry.Impl extends Object implements ServiceRegistry
ServiceRegistry.Impl, ServiceRegistry.ServiceRegistryHolder
Constructor and Description |
---|
Impl() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Class<T> cls) |
<T> List<T> |
getAll(Class<T> cls) |
static ServiceRegistry |
getServiceRegistry() |
void |
reload() |
void |
reset() |
static void |
setSupplier(Supplier<ServiceRegistry> supplier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance, getService, ifSupported, isSupported
public void reset()
public void reload()
public <T> T get(Class<T> cls)
get
in interface ServiceRegistry
public <T> List<T> getAll(Class<T> cls)
getAll
in interface ServiceRegistry
public static ServiceRegistry getServiceRegistry()
public static void setSupplier(Supplier<ServiceRegistry> supplier)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.