Class DelegatingInvocableHandler
Inheritance
System.Object
DelegatingInvocableHandler
Assembly: Steeltoe.Messaging.RabbitMQ.dll
Syntax
public class DelegatingInvocableHandler : object
Constructors
|
Edit this page
View Source
DelegatingInvocableHandler(List<IInvocableHandlerMethod>, IInvocableHandlerMethod, Object, IServiceExpressionResolver, IServiceExpressionContext)
Declaration
public DelegatingInvocableHandler(List<IInvocableHandlerMethod> handlers, IInvocableHandlerMethod defaultHandler, object bean, IServiceExpressionResolver resolver, IServiceExpressionContext context)
Parameters
Type |
Name |
Description |
List<IInvocableHandlerMethod> |
handlers |
|
IInvocableHandlerMethod |
defaultHandler |
|
System.Object |
bean |
|
IServiceExpressionResolver |
resolver |
|
IServiceExpressionContext |
context |
|
|
Edit this page
View Source
DelegatingInvocableHandler(List<IInvocableHandlerMethod>, Object, IServiceExpressionResolver, IServiceExpressionContext)
Declaration
public DelegatingInvocableHandler(List<IInvocableHandlerMethod> handlers, object bean, IServiceExpressionResolver resolver, IServiceExpressionContext context)
Parameters
Type |
Name |
Description |
List<IInvocableHandlerMethod> |
handlers |
|
System.Object |
bean |
|
IServiceExpressionResolver |
resolver |
|
IServiceExpressionContext |
context |
|
Properties
|
Edit this page
View Source
Bean
Declaration
public object Bean { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
DefaultHandler
Declaration
public IInvocableHandlerMethod DefaultHandler { get; }
Property Value
Type |
Description |
IInvocableHandlerMethod |
|
|
Edit this page
View Source
Handlers
Declaration
public List<IInvocableHandlerMethod> Handlers { get; }
Property Value
Type |
Description |
List<IInvocableHandlerMethod> |
|
|
Edit this page
View Source
HasDefaultHandler
Declaration
public bool HasDefaultHandler { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Resolver
Declaration
public IServiceExpressionResolver Resolver { get; }
Property Value
Type |
Description |
IServiceExpressionResolver |
|
|
Edit this page
View Source
ServiceExpressionContext
Declaration
public IServiceExpressionContext ServiceExpressionContext { get; }
Property Value
Type |
Description |
IServiceExpressionContext |
|
Methods
|
Edit this page
View Source
FindHandlerForPayload(Type)
Declaration
protected virtual IInvocableHandlerMethod FindHandlerForPayload(Type payloadClass)
Parameters
Type |
Name |
Description |
Type |
payloadClass |
|
Returns
Type |
Description |
IInvocableHandlerMethod |
|
|
Edit this page
View Source
GetHandlerForPayload(Type)
Declaration
protected IInvocableHandlerMethod GetHandlerForPayload(Type payloadClass)
Parameters
Type |
Name |
Description |
Type |
payloadClass |
|
Returns
Type |
Description |
IInvocableHandlerMethod |
|
|
Edit this page
View Source
GetInvocationResultFor(Object, Object)
Declaration
public InvocationResult GetInvocationResultFor(object result, object inboundPayload)
Parameters
Type |
Name |
Description |
System.Object |
result |
|
System.Object |
inboundPayload |
|
Returns
|
Edit this page
View Source
GetMethodFor(Object)
Declaration
public MethodInfo GetMethodFor(object payload)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
Returns
Type |
Description |
MethodInfo |
|
|
Edit this page
View Source
GetMethodNameFor(Object)
Declaration
public string GetMethodNameFor(object payload)
Parameters
Type |
Name |
Description |
System.Object |
payload |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Invoke(IMessage, Object[])
Declaration
public InvocationResult Invoke(IMessage message, params object[] providedArgs)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
System.Object[] |
providedArgs |
|
Returns
|
Edit this page
View Source
MatchHandlerMethod(Type, IInvocableHandlerMethod)
Declaration
protected bool MatchHandlerMethod(Type payloadClass, IInvocableHandlerMethod handler)
Parameters
Type |
Name |
Description |
Type |
payloadClass |
|
IInvocableHandlerMethod |
handler |
|
Returns
Type |
Description |
System.Boolean |
|