public class RequiredServicesFeatureAdapter extends java.lang.Object implements IRequiredServicesFeature
| Modifier and Type | Field and Description | 
|---|---|
| protected IRequiredServicesFeature | delegateThe delegate. | 
| Constructor and Description | 
|---|
| RequiredServicesFeatureAdapter(IRequiredServicesFeature delegate)Create a new adapter. | 
| 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. | 
| java.lang.String | rename(java.lang.String name)Rename if necessary. | 
| <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. | 
protected IRequiredServicesFeature delegate
public RequiredServicesFeatureAdapter(IRequiredServicesFeature delegate)
public RequiredServiceInfo[] getRequiredServiceInfos()
getRequiredServiceInfos in interface IRequiredServicesFeaturepublic RequiredServiceInfo getRequiredServiceInfo(java.lang.String name)
getRequiredServiceInfo in interface IRequiredServicesFeaturename - The name.public <T> IFuture<T> getRequiredService(java.lang.String name)
getRequiredService in interface IRequiredServicesFeaturename - The service name.public <T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name)
getRequiredServices in interface IRequiredServicesFeaturename - The services name.public <T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind)
getRequiredService in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.public <T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind)
getRequiredServices in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.public <T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
getRequiredService in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.public <T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind, IAsyncFilter<T> filter)
getRequiredServices in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.public <T> IFuture<T> getRequiredService(java.lang.String name, boolean rebind, java.lang.String... tags)
getRequiredService in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.tags - The service tags.public <T> ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name, boolean rebind, java.lang.String... tags)
getRequiredServices in interface IRequiredServicesFeaturename - The required service name.rebind - If false caches results.tags - The service tags.public <T> T getLastRequiredService(java.lang.String name)
getLastRequiredService in interface IRequiredServicesFeaturename - The required service name.public <T> java.util.Collection<T> getLastRequiredServices(java.lang.String name)
getLastRequiredServices in interface IRequiredServicesFeaturename - The required services name.public <T> IFuture<T> searchService(java.lang.Class<T> type, IComponentIdentifier cid)
searchService in interface IRequiredServicesFeaturetype - The class.cid - The component identifier of the target component.public <T> IFuture<T> searchService(java.lang.Class<T> type)
searchService in interface IRequiredServicesFeaturetype - The class.public <T> IFuture<T> searchService(java.lang.Class<T> type, java.lang.String scope)
searchService in interface IRequiredServicesFeaturetype - The class.public <T> IIntermediateFuture<T> searchServices(java.lang.Class<T> type)
searchServices in interface IRequiredServicesFeaturetype - The class.public <T> IIntermediateFuture<T> searchServices(java.lang.Class<T> type, java.lang.String scope)
searchServices in interface IRequiredServicesFeaturetype - The class.public <T> ISubscriptionIntermediateFuture<T> addQuery(java.lang.Class<T> type, java.lang.String scope, IAsyncFilter<T> filter)
addQuery in interface IRequiredServicesFeaturetype - The service type.scope - The scope.filter - The filter.public java.lang.String rename(java.lang.String name)