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.resolvers;
8   
9   import org.mule.api.MuleEventContext;
10  import org.mule.api.lifecycle.Callable;
11  
12  public class Target implements Callable
13  {
14  
15      public String array(String[] array)
16      {
17          return "array";
18      }
19  
20      public String object(Object object)
21      {
22          return "object";
23      }
24  
25      public Object onCall(MuleEventContext eventContext) throws Exception
26      {
27          return "callable";
28      }
29  
30      public String custom(Object object)
31      {
32          return "custom";
33      }
34  
35      public String methodString(String string)
36      {
37          return "methodString";
38      }
39  
40      public String methodInteger(Integer integer)
41      {
42          return "methodInteger";
43      }
44  
45      public String noArguments()
46      {
47          return "noArguments";
48      }
49  
50      public String property(Object object)
51      {
52          return "property";
53      }
54  
55      public String reflection(Integer integer, String string)
56      {
57          return "reflection";
58      }
59  
60  }