Package jadex.bridge.service.component
Interface IInternalRequiredServicesFeature
- 
- All Known Implementing Classes:
- RequiredServicesComponentFeature
 
 public interface IInternalRequiredServicesFeatureInterface for internal service access methods.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetRawService(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.RequiredServiceInfogetServiceInfo(java.lang.String name)Get the required service info for a name.RequiredServiceInfo[]getServiceInfos()Get the required services.<T> TresolveLocalService(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.
 
- 
- 
- 
Method Detail- 
getServiceInfoRequiredServiceInfo getServiceInfo(java.lang.String name) Get the required service info for a name.- Parameters:
- name- The required service name.
 
 - 
getRawService<T> T getRawService(java.lang.Class<T> type) Get a service raw (i.e. w/o required proxy).
 - 
getRawServices<T> java.util.Collection<T> getRawServices(java.lang.Class<T> type) Get a service raw (i.e. w/o required proxy).
 - 
resolveService<T> IFuture<T> resolveService(ServiceQuery<T> query, RequiredServiceInfo info) Search for matching services and provide first result.- Parameters:
- query- The search query.
- info- Used for required service proxy configuration -> null for no proxy.
- Returns:
- Future providing the corresponding service or ServiceNotFoundException when not found.
 
 - 
resolveLocalService<T> T resolveLocalService(ServiceQuery<T> query, RequiredServiceInfo info) Search for matching services and provide first result. Synchronous method only for locally available services.- Parameters:
- query- The search query.
- info- Used for required service proxy configuration -> null for no proxy.
- Returns:
- Future providing the corresponding service or ServiceNotFoundException when not found.
 
 - 
resolveServices<T> ITerminableIntermediateFuture<T> resolveServices(ServiceQuery<T> query, RequiredServiceInfo info) Search for all matching services.- Parameters:
- query- The search query.
- info- Used for required service proxy configuration -> null for no proxy.
- Returns:
- Future providing the corresponding services or ServiceNotFoundException when not found.
 
 - 
resolveLocalServices<T> java.util.Collection<T> resolveLocalServices(ServiceQuery<T> query, RequiredServiceInfo info) Search for all matching services. Synchronous method only for locally available services.- Parameters:
- query- The search query.
- info- Used for required service proxy configuration -> null for no proxy.
- Returns:
- Future providing the corresponding services or ServiceNotFoundException when not found.
 
 - 
resolveQuery<T> ISubscriptionIntermediateFuture<T> resolveQuery(ServiceQuery<T> query, RequiredServiceInfo info) Query for all matching services.- Parameters:
- query- The search query.
- info- Used for required service proxy configuration -> null for no proxy.
- Returns:
- Future providing the corresponding services.
 
 - 
getServiceInfosRequiredServiceInfo[] getServiceInfos() Get the required services.- Returns:
- The required services.
 
 
- 
 
-