Top Description Methods
org.springframework.messaging.handler.annotation.support

public Interface MessageHandlerMethodFactory

Known Direct Implementers
org.springframework.messaging.handler.annotation.support.DefaultMessageHandlerMethodFactory
Imports
java.lang.reflect.Method, org.springframework.messaging.handler.invocation.InvocableHandlerMethod

A factory for InvocableHandlerMethod that is suitable to process an incoming org.springframework.messaging.Message

Typically used by listener endpoints that require a flexible method signature.

Author
Stephane Nicoll
Since
4.1

Method Summary

Modifier and TypeMethod and Description
public InvocableHandlerMethod

Returns:

an InvocableHandlerMethod suitable for that method
createInvocableHandlerMethod
(Object
the bean instance
bean
,
Method
the method to invoke
method
)

Create the InvocableHandlerMethod that is able to process the specified method endpoint.

Method Detail

createInvocableHandlerMethodback to summary
public InvocableHandlerMethod createInvocableHandlerMethod(Object bean, Method method)

Create the InvocableHandlerMethod that is able to process the specified method endpoint.

Parameters
bean:Object

the bean instance

method:Method

the method to invoke

Returns:InvocableHandlerMethod

an InvocableHandlerMethod suitable for that method