Table of Contents

Class ServiceActivatorAttributeProcessor

Namespace
Steeltoe.Integration.Config
Assembly
Steeltoe.Integration.IntegrationBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ServiceActivatorAttributeProcessor : AbstractMethodAttributeProcessor<ServiceActivatorAttribute>, IMethodAttributeProcessor<ServiceActivatorAttribute>
Inheritance
ServiceActivatorAttributeProcessor
Implements
Inherited Members

Constructors

ServiceActivatorAttributeProcessor(IApplicationContext, IEnumerable<IServiceActivatorMethod>, ILogger<ServiceActivatorAttributeProcessor>)

public ServiceActivatorAttributeProcessor(IApplicationContext applicationContext, IEnumerable<IServiceActivatorMethod> methods, ILogger<ServiceActivatorAttributeProcessor> logger)

Parameters

applicationContext IApplicationContext
methods IEnumerable<IServiceActivatorMethod>
logger ILogger<ServiceActivatorAttributeProcessor>

Methods

CreateHandler(object, MethodInfo, List<Attribute>)

protected override IMessageHandler CreateHandler(object service, MethodInfo method, List<Attribute> attributes)

Parameters

service object
method MethodInfo
attributes List<Attribute>

Returns

IMessageHandler

GenerateServiceName(string, MethodInfo, Type)

protected virtual string GenerateServiceName(string originalServiceName, MethodInfo method, Type attributeType)

Parameters

originalServiceName string
method MethodInfo
attributeType Type

Returns

string

Initialize()

public void Initialize()