javax.websocket
Class ContainerProvider
java.lang.Object
javax.websocket.ContainerProvider
public class ContainerProvider
- extends Object
Provider class that uses the ServiceLoader mechanism to provide
implementations of ServerContainer and ClientContainer.
- Author:
- dannycoward
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerProvider
public ContainerProvider()
getServerContainer
public static ServerContainer getServerContainer()
- Obtains a reference to the (singletone) ServerContainer implementation.
- Returns:
- the server implementation.
getClientContainer
public static ClientContainer getClientContainer()
- Obtains a reference to the (singleton) ClientContainer implementation.
- Returns:
- the client implementation.
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.