jakartaee / websocket

Jakarta WebSocket
https://projects.eclipse.org/projects/ee4j.websocket
Other
60 stars 41 forks source link

Give WebSocketContainer on the client side a lifecycle #212

Open glassfishrobot opened 11 years ago

glassfishrobot commented 11 years ago

Currently there is no way for the implementation to know when the developer has finished using each instance of the WebSocketContainer. If the developer uses ContainerProvider.getWebSocketContainer() to obtain many instances, this is difficult to manage for the implementation.

Consider adding a lifecycle so the implementation can clean up.

glassfishrobot commented 6 years ago
glassfishrobot commented 11 years ago

@glassfishrobot Commented Reported by dannycoward

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA WEBSOCKET_SPEC-212