View Javadoc

1   /*
2    * $Id: Target.java 19191 2010-08-25 21:05:23Z tcarlson $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.test.integration.resolvers;
12  
13  import org.mule.api.MuleEventContext;
14  import org.mule.api.lifecycle.Callable;
15  
16  public class Target implements Callable
17  {
18  
19      public String array(String[] array)
20      {
21          return "array";
22      }
23  
24      public String object(Object object)
25      {
26          return "object";
27      }
28  
29      public Object onCall(MuleEventContext eventContext) throws Exception
30      {
31          return "callable";
32      }
33  
34      public String custom(Object object)
35      {
36          return "custom";
37      }
38  
39      public String methodString(String string)
40      {
41          return "methodString";
42      }
43  
44      public String methodInteger(Integer integer)
45      {
46          return "methodInteger";
47      }
48  
49      public String noArguments()
50      {
51          return "noArguments";
52      }
53  
54      public String property(Object object)
55      {
56          return "property";
57      }
58  
59      public String reflection(Integer integer, String string)
60      {
61          return "reflection";
62      }
63  
64  }