public abstract class ContainerProvider extends 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
.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()
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.