View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.test.integration.transformer.response;
8   
9   public class BindingInterfaceComponent
10  {
11  
12      BindingInterface binding;
13  
14      public String invoke(String s)
15      {
16          s = binding.hello1(s);
17          s = binding.hello2(s);
18  //        s = binding.hello3(s);
19  //        s = binding.hello4(s);
20          return s;
21      }
22  
23      public void setBinding(BindingInterface binding)
24      {
25          this.binding = binding;
26      }
27  
28      public BindingInterface getBinding()
29      {
30          return binding;
31  
32      }
33  
34  }