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.tck.services;
8   
9   import org.mule.util.StringUtils;
10  
11  import java.rmi.Remote;
12  
13  /**
14   * A test service that has two service methods with matching signature
15   */
16  public class MatchingMethodsComponent implements Remote
17  {
18      public String reverseString(String string)
19      {
20          return StringUtils.reverse(string);
21      }
22  
23      public String upperCaseString(String string)
24      {
25          return string.toUpperCase();
26      }
27  }