View Javadoc

1   /*
2    * $Id:  $
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  package org.mule.module.ibeans.annotations.invoke;
11  
12  import org.ibeans.annotation.Invoke;
13  import org.ibeans.annotation.param.PropertyParam;
14  
15  /**
16   * TODO
17   */
18  
19  public interface InvokeTestIBean
20  {
21      @PropertyParam("dummy")
22      public static final HelloParamFactory hello = new HelloParamFactory();
23  
24      @Invoke(object = "dummy", method = "sayHello")
25      public String greet(@PropertyParam("name") String name) throws Exception;
26  
27      @Invoke(object = "dummy2", method = "sayHello")
28      public String greetFail1(@PropertyParam("name") String name) throws Exception;
29  
30      @Invoke(object = "dummy", method = "sayHellox")
31      public String greetFail2(@PropertyParam("name") String name) throws Exception;
32  
33      @Invoke(object = "dummy", method = "sayHello")
34      public String greetFail3(@PropertyParam("name") String name, @PropertyParam("location") String location) throws Exception;
35  }