public class BDIRequiredServicesComponentFeature
extends jadex.bridge.service.component.RequiredServicesComponentFeature
| Constructor and Description |
|---|
BDIRequiredServicesComponentFeature(jadex.bridge.IInternalAccess component,
jadex.bridge.component.ComponentCreationInfo cinfo)
Factory method constructor for instance level.
|
| 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> T |
getMultiService(java.lang.String reqname,
java.lang.Class<T> multitype)
Get a multi service.
|
<T> jadex.commons.future.IFuture<T> |
getRequiredService(java.lang.String name)
Get a required service of a given name.
|
<T> jadex.commons.future.IFuture<T> |
getRequiredService(java.lang.String name,
boolean rebind)
Get a required service.
|
<T> jadex.commons.future.IFuture<T> |
getRequiredService(java.lang.String name,
boolean rebind,
jadex.commons.IAsyncFilter<T> filter)
Get a required service.
|
protected jadex.bridge.service.IRequiredServiceFetcher |
getRequiredServiceFetcher(java.lang.String name)
Get a required service fetcher.
|
<T> jadex.commons.future.ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name)
Get a required services of a given name.
|
<T> jadex.commons.future.ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name,
boolean rebind)
Get a required services.
|
<T> jadex.commons.future.ITerminableIntermediateFuture<T> |
getRequiredServices(java.lang.String name,
boolean rebind,
jadex.commons.IAsyncFilter<T> filter)
Get a required services.
|
protected java.lang.String |
rename(java.lang.String name)
Rename the service name according to the current capability.
|
addRequiredServiceInfos, createServiceFetcher, getId, getRequiredService, getRequiredServiceInfo, getRequiredServiceInfos, getRequiredServices, init, searchService, searchService, searchService, searchServices, searchServices, setRequiredServiceInfospublic BDIRequiredServicesComponentFeature(jadex.bridge.IInternalAccess component,
jadex.bridge.component.ComponentCreationInfo cinfo)
public <T> jadex.commons.future.IFuture<T> getRequiredService(java.lang.String name)
getRequiredService in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredService in class jadex.bridge.service.component.RequiredServicesComponentFeaturename - The service name.public <T> jadex.commons.future.ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name)
getRequiredServices in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredServices in class jadex.bridge.service.component.RequiredServicesComponentFeaturename - The services name.public <T> jadex.commons.future.IFuture<T> getRequiredService(java.lang.String name,
boolean rebind)
getRequiredService in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredService in class jadex.bridge.service.component.RequiredServicesComponentFeaturepublic <T> jadex.commons.future.ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name,
boolean rebind)
getRequiredServices in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredServices in class jadex.bridge.service.component.RequiredServicesComponentFeaturepublic <T> jadex.commons.future.ITerminableIntermediateFuture<T> getRequiredServices(java.lang.String name,
boolean rebind,
jadex.commons.IAsyncFilter<T> filter)
getRequiredServices in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredServices in class jadex.bridge.service.component.RequiredServicesComponentFeaturepublic <T> T getMultiService(java.lang.String reqname,
java.lang.Class<T> multitype)
getMultiService in class jadex.bridge.service.component.RequiredServicesComponentFeaturereqname - The required service name.multitype - The interface of the multi service.public <T> jadex.commons.future.IFuture<T> getRequiredService(java.lang.String name,
boolean rebind,
jadex.commons.IAsyncFilter<T> filter)
getRequiredService in interface jadex.bridge.service.component.IRequiredServicesFeaturegetRequiredService in class jadex.bridge.service.component.RequiredServicesComponentFeaturepublic <T> T getLastRequiredService(java.lang.String name)
getLastRequiredService in interface jadex.bridge.service.component.IRequiredServicesFeaturegetLastRequiredService in class jadex.bridge.service.component.RequiredServicesComponentFeaturename - The required service name.public <T> java.util.Collection<T> getLastRequiredServices(java.lang.String name)
getLastRequiredServices in interface jadex.bridge.service.component.IRequiredServicesFeaturegetLastRequiredServices in class jadex.bridge.service.component.RequiredServicesComponentFeaturename - The required services name.protected jadex.bridge.service.IRequiredServiceFetcher getRequiredServiceFetcher(java.lang.String name)
getRequiredServiceFetcher in class jadex.bridge.service.component.RequiredServicesComponentFeaturename - The required service name.protected java.lang.String rename(java.lang.String name)