jadex.bridge.service.IRequiredServiceFetcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-platform-bridge Show documentation
Show all versions of jadex-platform-bridge Show documentation
Jadex bridge is a base package for kernels and platforms, i.e., it is used by both and provides commonly used interfaces and classes for active components and their management.
package jadex.bridge.service;
import java.util.Collection;
import jadex.commons.future.IFuture;
import jadex.commons.future.ITerminableIntermediateFuture;
/**
* Interface for fetching required services.
*/
public interface IRequiredServiceFetcher
{
/**
* Get a required service.
* @param info The service info.
* @param provider The provider.
* @param rebind Flag if should be rebound.
*/
public IFuture getService(RequiredServiceInfo info);
/**
* Get a required multi service.
* @param info The service info.
* @param provider The provider.
* @param rebind Flag if should be rebound.
*/
public ITerminableIntermediateFuture getServices(RequiredServiceInfo info);
/**
* Get the result of the last search.
*/
public T getLastService();
/**
* Get the result of the last search.
*/
public Collection getLastServices();
}