All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bridge.service.IRequiredServiceFetcher Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 4.0.267
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy