public interface ServiceProvider
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority()
This method allows to define a priority for a registered ServiceProvider instance.
|
<T> T |
getService(Class<T> serviceType)
Access a single service, given its type.
|
<T> List<T> |
getServices(Class<T> serviceType)
Access a list of services, given its type.
|
int getPriority()
<T> List<T> getServices(Class<T> serviceType)
serviceType - the service type.null<T> T getService(Class<T> serviceType)
serviceType - the service type.null, if no such service is available.Copyright © 2014–2015 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.