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.routing.nested;
8
9 import java.util.Date;
10
11 public class Invoker
12 {
13 private HelloInterface hello;
14
15 public String invoke(String s)
16 {
17 return "Received: " + hello.hello(s, new Integer(0xC0DE));
18 }
19
20 public Object returnNull(Date date)
21 {
22 return hello.returnNull();
23 }
24
25 public void setHello(HelloInterface hello)
26 {
27 this.hello = hello;
28 }
29
30 public HelloInterface getHello()
31 {
32 return hello;
33 }
34 }