*/
public class HostedWebServicePipelineFactory implements OperationPipelineFactory {
@Override
public OperationPipeline createPipeline(Operation op, IntegrationEntityLookup lookup) {
HostedWebServiceCallChain hostedChain = new HostedWebServiceCallChain(op, lookup);
TransformationActivity first_trans = TransformationActivity.newInstance(hostedChain.getFirstTransformation(),
HostedWebServiceCallTemplate.FIRST_TRANSFORMATION);
WebServiceCallActivity hws = WebServiceCallActivity.newInstance(hostedChain.getWebServiceCall(),
HostedWebServiceCallTemplate.WEBSERVICECALL);
TransformationActivity second_trans = TransformationActivity.newInstance(hostedChain.getSecondTransformation(),
HostedWebServiceCallTemplate.SECOND_TRANSFORMATION);
List<PipelineActivity> activities = Lists.newArrayList();
activities.add(hws);
activities.add(first_trans);
activities.add(second_trans);