public interface ServiceRegistry
<R extends Service> R getService(java.lang.Class<R> serviceRole)
ServiceInitiatoris registered for this service role, the service will be initialized and returned. NOTE: We cannot return
<R extends Service<T>>here because the service might come from the parent...
R- The service role type
serviceRole- The service role
UnknownServiceException- Indicates the service was not known.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.