public interface IRequiredServicesFeature
Modifier and Type | Method and Description |
---|---|
<T> T |
getLastRequiredService(java.lang.String name)
Get the result of the last search.
|
<T> java.util.Collection<T> |
getLastRequiredServices(java.lang.String name)
Get the result of the last search.
|
<T> IFuture<T> |
getRequiredService(java.lang.String name)
Get a required service of a given name.
|
<T> IFuture<T> |
getRequiredService(java.lang.String name,
boolean rebind)
Get a required service.
|
<T> IFuture<T> |
getRequiredService(java.lang.String name,
boolean rebind,
IAsyncFilter<T> filter)
Get a required service.
|
RequiredServiceInfo |
getRequiredServiceInfo(java.lang.String name)
Get the required service info.
|
RequiredServiceInfo[] |
getRequiredServiceInfos()
Get the required service infos.
|
<T> ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name)
Get a required services of a given name.
|
<T> ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name,
boolean rebind)
Get a required services.
|
<T> ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name,
boolean rebind,
IAsyncFilter<T> filter)
Get a required services.
|
<T> IFuture<T> |
searchService(java.lang.Class<T> type)
Get one service of a type.
|
<T> IFuture<T> |
searchService(java.lang.Class<T> type,
IComponentIdentifier cid)
Get one service of a type from a specific component.
|
<T> IFuture<T> |
searchService(java.lang.Class<T> type,
java.lang.String scope)
Get one service of a type.
|
<T> IIntermediateFuture<T> |
searchServices(java.lang.Class<T> type)
Get all services of a type.
|
<T> IIntermediateFuture<T> |
searchServices(java.lang.Class<T> type,
java.lang.String scope)
Get all services of a type.
|
RequiredServiceInfo[] getRequiredServiceInfos()
RequiredServiceInfo getRequiredServiceInfo(java.lang.String name)
name
- The name.<T> IFuture<T> getRequiredService(java.lang.String name)
name
- The service name.<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name)
name
- The services name.<T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind)
<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind)
<T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
<T> T getLastRequiredService(java.lang.String name)
name
- The required service name.<T> java.util.Collection<T> getLastRequiredServices(java.lang.String name)
name
- The required services name.<T> IFuture<T> searchService(java.lang.Class<T> type, IComponentIdentifier cid)
type
- The class.cid
- The component identifier of the target component.<T> IFuture<T> searchService(java.lang.Class<T> type)
type
- The class.<T> IFuture<T> searchService(java.lang.Class<T> type, java.lang.String scope)
type
- The class.<T> IIntermediateFuture<T> searchServices(java.lang.Class<T> type)
type
- The class.<T> IIntermediateFuture<T> searchServices(java.lang.Class<T> type, java.lang.String scope)
type
- The class.