routines.system.api
Interface TalendESBJob

All Superinterfaces:
TalendJob

public interface TalendESBJob
extends TalendJob

A JOB interface for Jobs that are using tESB Components


Method Summary
 ESBEndpointInfo getEndpoint()
          Returns ESBEndpointInfo instance that describes the endpoint implemented by given Job.
 void setEndpointRegistry(ESBEndpointRegistry registry)
          Injecting a ESBEndpointRegistry to allow tESB Consumer components to lookup and call ESB providers.
 void setProviderCallback(ESBProviderCallback callback)
          Injecting a ESBProviderCallback to allow tESB Provider components read requests sent to the Job and write responses from the Job
 
Methods inherited from interface routines.system.api.TalendJob
runJob, runJobInTOS
 

Method Detail

getEndpoint

ESBEndpointInfo getEndpoint()
Returns ESBEndpointInfo instance that describes the endpoint implemented by given Job. This method should return null if given Job does not have any tESB provider component.

Returns:
ESBEndpointInfo or null if no provider is configured for the Job

setEndpointRegistry

void setEndpointRegistry(ESBEndpointRegistry registry)
Injecting a ESBEndpointRegistry to allow tESB Consumer components to lookup and call ESB providers.

Parameters:
callback -

setProviderCallback

void setProviderCallback(ESBProviderCallback callback)
Injecting a ESBProviderCallback to allow tESB Provider components read requests sent to the Job and write responses from the Job

Parameters:
callback -


Copyright © 2011-2013 Talend Inc.. All Rights Reserved.