public interface ServiceRegistry
| Modifier and Type | Method and Description |
|---|---|
<T> Set<T> |
getServices(Class<T> serviceInterface)
Gets a set of all the services that have been registered for the given service
interface.
|
<T> T |
getSingleService(Class<T> serviceInterface)
Gets a single service.
|
<T> T getSingleService(Class<T> serviceInterface) throws IllegalStateException
service - IllegalStateExceptionCopyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.