public interface IRequiredServicesFeature extends IExternalRequiredServicesFeature
Modifier and Type | Method and Description |
---|---|
<T> ISubscriptionIntermediateFuture<T> |
addQuery(java.lang.Class<T> type)
Add a query for a declared required service.
|
<T> ISubscriptionIntermediateFuture<T> |
addQuery(java.lang.String name)
Add a query for a declared required service.
|
<T> T |
getLocalService(java.lang.Class<T> type)
Resolve a declared required service of a given type.
|
<T> T |
getLocalService(java.lang.String name)
Resolve a declared required service of a given name.
|
<T> T |
getLocalService0(java.lang.Class<T> type)
Resolve a declared required service of a given type.
|
<T> java.util.Collection<T> |
getLocalServices(java.lang.Class<T> type)
Resolve a declared required services of a given type.
|
<T> java.util.Collection<T> |
getLocalServices(java.lang.String name)
Resolve a declared required services of a given name.
|
<T> IFuture<T> |
getService(java.lang.Class<T> type)
Resolve a declared required service of a given type.
|
<T> IFuture<T> |
getService(java.lang.String name)
Resolve a declared required service of a given name.
|
<T> ITerminableIntermediateFuture<T> |
getServices(java.lang.Class<T> type)
Resolve a declared required services of a given type.
|
<T> ITerminableIntermediateFuture<T> |
getServices(java.lang.String name)
Resolve a declared required services of a given name.
|
<T> T |
searchLocalService(ServiceQuery<T> query)
Search for matching services and provide first result.
|
<T> java.util.Collection<T> |
searchLocalServices(ServiceQuery<T> query)
Search for all matching services.
|
addQuery, searchService, searchServices
<T> T getLocalService(java.lang.String name)
name
- The service name.<T> T getLocalService(java.lang.Class<T> type)
type
- The service type.<T> T getLocalService0(java.lang.Class<T> type)
type
- The service type.<T> java.util.Collection<T> getLocalServices(java.lang.String name)
name
- The services name.<T> java.util.Collection<T> getLocalServices(java.lang.Class<T> type)
type
- The services type.<T> T searchLocalService(ServiceQuery<T> query)
query
- The search query.<T> java.util.Collection<T> searchLocalServices(ServiceQuery<T> query)
query
- The search query.<T> ISubscriptionIntermediateFuture<T> addQuery(java.lang.String name)
name
- The name of the required service declaration.<T> ISubscriptionIntermediateFuture<T> addQuery(java.lang.Class<T> type)
type
- The type of the required service declaration.<T> IFuture<T> getService(java.lang.String name)
name
- The service name.<T> IFuture<T> getService(java.lang.Class<T> type)
type
- The service type.<T> ITerminableIntermediateFuture<T> getServices(java.lang.String name)
name
- The services name.<T> ITerminableIntermediateFuture<T> getServices(java.lang.Class<T> type)
type
- The services type.