[TYRUS-68] Possibility to deploy Endpoint instances Created: 21/Jan/13 Updated: 19/Jun/13 Resolved: 19/Jun/13
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
As of version 1.0-b09 it is not possible anymore to pass Endpoint instances to DefaultServerConfiguration objects. This makes it impossible to pass Endpoint instances to a server. Currently it is only possible to provide the server with Endpoint classes which then get instantiated by the server. This is problematic in situations where Endpoints need to be configured before being deployed.
|Comment by stepan.kopriva [ 19/Jun/13 ]|
Server currenty allows to be created with configuration, which extends javax.websocket.server.ServerEndpointConfig. In the method ServerEndpointConfig$Configurator#getEndpointInstance(Class<T> endpointClass) throws InstantiationException the user may affect the endpoint instance creation.