public interface IRequiredServicesFeature
| Modifier and Type | Method and Description | 
|---|---|
| <T> ISubscriptionIntermediateFuture<T> | addQuery(java.lang.Class<T> type,
        java.lang.String scope,
        IAsyncFilter<T> filter)Add a service query. | 
| <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. | 
| <T> IFuture<T> | getRequiredService(java.lang.String name,
                  boolean rebind,
                  java.lang.String... tags)Get a required service using tags. | 
| 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> ITerminableIntermediateFuture<T> | getRequiredServices(java.lang.String name,
                   boolean rebind,
                   java.lang.String... tags)Get a required services using tags. | 
| <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)
name - The required service name.rebind - If false caches results.<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind)
name - The required service name.rebind - If false caches results.<T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
name - The required service name.rebind - If false caches results.tags - The async filter.<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
name - The required service name.rebind - If false caches results.tags - The async filter.<T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind, java.lang.String... tags)
name - The required service name.rebind - If false caches results.tags - The service tags.<T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind, java.lang.String... tags)
name - The required service name.rebind - If false caches results.tags - The service tags.<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.<T> ISubscriptionIntermediateFuture<T> addQuery(java.lang.Class<T> type, java.lang.String scope, IAsyncFilter<T> filter)
type - The service type.scope - The scope.filter - The filter.