public interface WebSocketBeanRegistry
| Modifier and Type | Field and Description | 
|---|---|
| static WebSocketBeanRegistry | EMPTYAn empty registry. | 
| Modifier and Type | Method and Description | 
|---|---|
| static WebSocketBeanRegistry | forClient(BeanContext beanContext)Create a  WebSocketBeanRegistryfrom the given bean context. | 
| static WebSocketBeanRegistry | forServer(BeanContext beanContext)Create a  WebSocketBeanRegistryfrom the given bean context. | 
| <T> WebSocketBean<T> | getWebSocket(Class<T> type)Retrieves a  WebSocketBean. | 
static final WebSocketBeanRegistry EMPTY
<T> WebSocketBean<T> getWebSocket(Class<T> type)
WebSocketBean.T - The generic typetype - The typeWebSocketBeanNoSuchBeanException - if the bean doesn't existstatic WebSocketBeanRegistry forServer(BeanContext beanContext)
WebSocketBeanRegistry from the given bean context.beanContext - The bean contextWebSocketBeanRegistrystatic WebSocketBeanRegistry forClient(BeanContext beanContext)
WebSocketBeanRegistry from the given bean context.beanContext - The bean contextWebSocketBeanRegistry