org.mule.module.ibeans.annotations
Interface TestParamsFactoryIBean

All Superinterfaces:
org.ibeans.api.ExceptionListenerAware

public interface TestParamsFactoryIBean
extends org.ibeans.api.ExceptionListenerAware


Field Summary
static FirstParamFactory FIRST_HEADER_FACTORY
           
static FirstParamFactory FIRST_URI_FACTORY
           
static SecondParamFactory SECOND_HEADER_FACTORY
           
static SecondParamFactory SECOND_URI_FACTORY
           
 
Method Summary
 MuleMessage doHeaderParam(String foo)
           
 org.ibeans.api.Response doHeaderParamAndResponse(String foo)
           
 MuleMessage doMethodHeaderParam(String foo, EchoParamFactory factory)
           
 org.ibeans.api.Response doMethodHeaderParamAndResponse(String foo, EchoParamFactory factory)
           
 MuleMessage doMethodPropertyParam(String foo, String prop, ReversePropertyParamFactory factory)
           
 org.ibeans.api.Response doMethodPropertyParamAndResponse(String foo, String prop, ReversePropertyParamFactory factory)
           
 String doMethodUriParam(String foo, org.ibeans.api.ParamFactory factory)
           
 MuleMessage doTestHeadersWithNoParams()
           
 org.ibeans.api.Response doTestHeadersWithNoParamsAndResponse()
           
 String doUriParams(String foo)
           
 void init(byte[] key)
           
 
Methods inherited from interface org.ibeans.api.ExceptionListenerAware
setExceptionListener
 

Field Detail

FIRST_URI_FACTORY

@UriParam(value="param1")
@Order(value=1)
static final FirstParamFactory FIRST_URI_FACTORY

SECOND_URI_FACTORY

@UriParam(value="param2")
@Order(value=2)
static final SecondParamFactory SECOND_URI_FACTORY

FIRST_HEADER_FACTORY

@HeaderParam(value="header1")
@Order(value=3)
static final FirstParamFactory FIRST_HEADER_FACTORY

SECOND_HEADER_FACTORY

@HeaderParam(value="header2")
@Order(value=4)
static final SecondParamFactory SECOND_HEADER_FACTORY
Method Detail

init

@State
void init(@PropertyParam(value="key")
                byte[] key)

doUriParams

@Template(value="The key is {param1} for {foo}. Param2 is: \'{param2}\'")
String doUriParams(@UriParam(value="foo")
                            String foo)
                   throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doMethodUriParam

@Template(value="The key is {paramX} for {foo}. Param2 is: \'{param2}\'")
String doMethodUriParam(@UriParam(value="foo")
                                 String foo,
                                 @UriParam(value="paramX")
                                 org.ibeans.api.ParamFactory factory)
                        throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doHeaderParam

@Template(value="Value is: {foo}")
MuleMessage doHeaderParam(@UriParam(value="foo")
                                   String foo)
                          throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doMethodHeaderParam

@Template(value="Value is: {foo}")
MuleMessage doMethodHeaderParam(@UriParam(value="foo")
                                         String foo,
                                         @HeaderParam(value="echoHeader")
                                         EchoParamFactory factory)
                                throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doMethodPropertyParam

@Template(value="Value is: {foo}")
MuleMessage doMethodPropertyParam(@UriParam(value="foo")
                                           String foo,
                                           @PropertyParam(value="customProperty")
                                           String prop,
                                           @HeaderParam(value="propHeader")
                                           ReversePropertyParamFactory factory)
                                  throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doTestHeadersWithNoParams

@Template(value="Foo")
MuleMessage doTestHeadersWithNoParams()
                                      throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doTestHeadersWithNoParamsAndResponse

@Template(value="Foo")
org.ibeans.api.Response doTestHeadersWithNoParamsAndResponse()
                                                             throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doHeaderParamAndResponse

@Template(value="Value is: {foo}")
org.ibeans.api.Response doHeaderParamAndResponse(@UriParam(value="foo")
                                                          String foo)
                                                 throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doMethodHeaderParamAndResponse

@Template(value="Value is: {foo}")
org.ibeans.api.Response doMethodHeaderParamAndResponse(@UriParam(value="foo")
                                                                String foo,
                                                                @HeaderParam(value="echoHeader")
                                                                EchoParamFactory factory)
                                                       throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException

doMethodPropertyParamAndResponse

@Template(value="Value is: {foo}")
org.ibeans.api.Response doMethodPropertyParamAndResponse(@UriParam(value="foo")
                                                                  String foo,
                                                                  @PropertyParam(value="customProperty")
                                                                  String prop,
                                                                  @HeaderParam(value="propHeader")
                                                                  ReversePropertyParamFactory factory)
                                                         throws org.ibeans.api.CallException
Throws:
org.ibeans.api.CallException


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