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
applicationContextIApplicationContextmethodsIEnumerable<IServiceActivatorMethod>loggerILogger<ServiceActivatorAttributeProcessor>
Methods
CreateHandler(object, MethodInfo, List<Attribute>)
protected override IMessageHandler CreateHandler(object service, MethodInfo method, List<Attribute> attributes)
Parameters
serviceobjectmethodMethodInfoattributesList<Attribute>
Returns
GenerateServiceName(string, MethodInfo, Type)
protected virtual string GenerateServiceName(string originalServiceName, MethodInfo method, Type attributeType)
Parameters
originalServiceNamestringmethodMethodInfoattributeTypeType
Returns
Initialize()
public void Initialize()