public class ServiceRegistry extends Object
Constructor and Description |
---|
ServiceRegistry(Injector injector,
Map<Class<?>,Set<Class<?>>> vetoed) |
Modifier and Type | Method and Description |
---|---|
<T> void |
addService(Class<T> service,
Class<? extends T> serviceImpl) |
void |
clear() |
<T> Set<Class<? extends T>> |
getServiceImpls(Class<T> service) |
ServiceLoader |
getServiceLoader() |
<T> void |
overrideService(Class<T> service,
Class<? extends T> oldServiceImpl,
Class<? extends T> newServiceImpl) |
<T> void |
removeService(Class<T> service,
Class<? extends T> serviceImpl) |
public <T> void overrideService(Class<T> service, Class<? extends T> oldServiceImpl, Class<? extends T> newServiceImpl)
public void clear()
public ServiceLoader getServiceLoader()
Copyright © 2018 JBoss by Red Hat. All rights reserved.