@Component public class MessageHandlerProvider extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
MessageHandlerProvider(MessageContractProvider messageContractProvider,
MessageFactory messageFactory,
MessageBusProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getHandlerContractCodes() |
IMessageHandler |
getMessageHandlerForCodeAndVersion(String code,
Integer version) |
void |
init() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public MessageHandlerProvider(MessageContractProvider messageContractProvider, MessageFactory messageFactory, MessageBusProperties properties)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException@PostConstruct public void init()
public IMessageHandler getMessageHandlerForCodeAndVersion(String code, Integer version)
Copyright © 2018. All rights reserved.