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

jadex.bridge.ITargetResolver 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;

import jadex.bridge.service.IService;
import jadex.bridge.service.IServiceIdentifier;
import jadex.commons.future.IFuture;

/**
 *  The target resolver is used to determine dynamically a new service
 *  target by an intelligent proxy. 
 */
public interface ITargetResolver 
{
	/** The target resolver class (to dynamically resolve the called service). */
	public static final String TARGETRESOLVER = "targetresolver";
	
	/**
	 *  Determine the target of a call.
	 *  @param sid The service identifier of the original call.
	 *  @param agent The external access.
	 *  @return The new service that should be called instead of the original one.
	 */
	public IFuture determineTarget(IServiceIdentifier sid, IExternalAccess agent, IServiceIdentifier broken);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy