public class CommandMappingHandler
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandMappingHandler.ConsumerInfo |
| Constructor and Description |
|---|
CommandMappingHandler(WsConnectionConfigProps configProps) |
| Modifier and Type | Method and Description |
|---|---|
CommandMappingHandler.ConsumerInfo |
getConsumeInfo(java.lang.String type) |
java.util.Map<java.lang.String,java.lang.Object> |
getMappingInfo()
Get current mapping info.
|
java.lang.Class<?> |
getRequestClass(java.lang.String command)
Get entity class by command.
|
void |
init()
Find the custom annotations.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public CommandMappingHandler(WsConnectionConfigProps configProps)
@PostConstruct public void init()
public java.lang.Class<?> getRequestClass(java.lang.String command)
command - Commandpublic CommandMappingHandler.ConsumerInfo getConsumeInfo(java.lang.String type)
public java.util.Map<java.lang.String,java.lang.Object> getMappingInfo()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansException