org.mule.module.ibeans.annotations
Interface TestUriIBean

All Superinterfaces:
org.ibeans.api.ExceptionListenerAware

public interface TestUriIBean
extends org.ibeans.api.ExceptionListenerAware

A test bean that uses an exception listener rather than declaring exceptions on all the method calls


Field Summary
static String DO_SOMETHING_URI
           
 
Method Summary
 String doSomething(String foo)
           
 String doSomethingElse(String foo, String bar)
           
 String doSomethingNoParams()
           
 String doSomethingOptional(String foo, String bar)
           
 
Methods inherited from interface org.ibeans.api.ExceptionListenerAware
setExceptionListener
 

Field Detail

DO_SOMETHING_URI

@UriParam(value="do_something_uri")
static final String DO_SOMETHING_URI
See Also:
Constant Field Values
Method Detail

doSomething

@Template(value="http://{do_something_uri}{foo}")
String doSomething(@UriParam(value="foo")
                            String foo)

doSomethingElse

@Template(value="http://{do_something_uri}{foo}¶m2={bar}")
String doSomethingElse(@UriParam(value="foo")
                                String foo,
                                @UriParam(value="bar")
                                String bar)
                       throws UnknownHostException
Throws:
UnknownHostException

doSomethingNoParams

@Call(uri="http://{do_something_uri}")
String doSomethingNoParams()
                           throws Exception
Throws:
Exception

doSomethingOptional

@Template(value="http://{do_something_uri}{foo}¶m2={bar}")
String doSomethingOptional(@Optional@UriParam(value="foo")
                                    String foo,
                                    @Optional@UriParam(value="bar")
                                    String bar)
                           throws UnknownHostException
Throws:
UnknownHostException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.