Package jadex.bridge

Interface ITargetResolver

  • All Known Implementing Classes:
    GlobalServicePoolTargetResolver

    public interface ITargetResolver
    The target resolver is used to determine dynamically a new service target by an intelligent proxy.
    • Field Detail

      • TARGETRESOLVER

        static final java.lang.String TARGETRESOLVER
        The target resolver class (to dynamically resolve the called service).
        See Also:
        Constant Field Values
    • Method Detail

      • determineTarget

        IFuture<IService> determineTarget​(IServiceIdentifier sid,
                                          IExternalAccess agent,
                                          IServiceIdentifier broken)
        Determine the target of a call.
        Parameters:
        sid - The service identifier of the original call.
        agent - The external access.
        Returns:
        The new service that should be called instead of the original one.