@Configuration public class SocketNettyConfig extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
SocketNettyConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T |
getBean(Class<T> clazz) |
io.netty.channel.ChannelHandler |
getSocketChannelHandler() |
io.netty.channel.ChannelHandler |
getWebSocketChannelHandler() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setSocketChannelHandler(io.netty.channel.ChannelHandler socketChannelHandler) |
void |
setWebSocketChannelHandler(io.netty.channel.ChannelHandler webSocketChannelHandler) |
public io.netty.channel.ChannelHandler getWebSocketChannelHandler()
public void setWebSocketChannelHandler(io.netty.channel.ChannelHandler webSocketChannelHandler)
public io.netty.channel.ChannelHandler getSocketChannelHandler()
public void setSocketChannelHandler(io.netty.channel.ChannelHandler socketChannelHandler)
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic <T> T getBean(Class<T> clazz)
Copyright © 2020–2021 structure. All rights reserved.