public abstract class ContainerProvider
extends java.lang.Object
| Constructor and Description | 
|---|
ContainerProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract WebSocketContainer | 
getContainer()
Create a new instance of the the WebSocket container implementation. 
 | 
static WebSocketContainer | 
getWebSocketContainer()
Obtain a new instance of a WebSocketContainer. 
 | 
public static WebSocketContainer getWebSocketContainer()
null.java.util.ServiceConfigurationError - If there is a problem loading one of the discovered ContainerProvider
         implementations. A ServiceConfigurationError is viewed as a serious problem so the exception is allowed
         to propagate rather than swallowing the exception and attempting to load the next provider (if any).protected abstract WebSocketContainer getContainer()