public interface IInternalRequiredServicesFeature
Modifier and Type | Method and Description |
---|---|
<T> T |
getRawService(java.lang.Class<T> type)
Get a service raw (i.e.
|
<T> java.util.Collection<T> |
getRawServices(java.lang.Class<T> type)
Get a service raw (i.e.
|
RequiredServiceInfo |
getServiceInfo(java.lang.String name)
Get the required service info for a name.
|
RequiredServiceInfo[] |
getServiceInfos()
Get the required services.
|
<T> T |
resolveLocalService(ServiceQuery<T> query,
RequiredServiceInfo info)
Search for matching services and provide first result.
|
<T> java.util.Collection<T> |
resolveLocalServices(ServiceQuery<T> query,
RequiredServiceInfo info)
Search for all matching services.
|
<T> ISubscriptionIntermediateFuture<T> |
resolveQuery(ServiceQuery<T> query,
RequiredServiceInfo info)
Query for all matching services.
|
<T> IFuture<T> |
resolveService(ServiceQuery<T> query,
RequiredServiceInfo info)
Search for matching services and provide first result.
|
<T> ITerminableIntermediateFuture<T> |
resolveServices(ServiceQuery<T> query,
RequiredServiceInfo info)
Search for all matching services.
|
RequiredServiceInfo getServiceInfo(java.lang.String name)
name
- The required service name.<T> T getRawService(java.lang.Class<T> type)
<T> java.util.Collection<T> getRawServices(java.lang.Class<T> type)
<T> IFuture<T> resolveService(ServiceQuery<T> query, RequiredServiceInfo info)
query
- The search query.info
- Used for required service proxy configuration -> null for no proxy.<T> T resolveLocalService(ServiceQuery<T> query, RequiredServiceInfo info)
query
- The search query.info
- Used for required service proxy configuration -> null for no proxy.<T> ITerminableIntermediateFuture<T> resolveServices(ServiceQuery<T> query, RequiredServiceInfo info)
query
- The search query.info
- Used for required service proxy configuration -> null for no proxy.<T> java.util.Collection<T> resolveLocalServices(ServiceQuery<T> query, RequiredServiceInfo info)
query
- The search query.info
- Used for required service proxy configuration -> null for no proxy.<T> ISubscriptionIntermediateFuture<T> resolveQuery(ServiceQuery<T> query, RequiredServiceInfo info)
query
- The search query.info
- Used for required service proxy configuration -> null for no proxy.RequiredServiceInfo[] getServiceInfos()