2015-11-04 14:55 GMT+01:00 Romain Manni-Bucau <rmannibu...@gmail.com>:

> Here is the use case: we make these endpoints go through the javee instance
> manager. Being a ee server we support @Inject and in some cases - sadly the
> most common one - we need a cleanup hook once the endpoint is no more used.
>
> Strictly at tomcat level think to postconstruct/predestroy support for
> instance.
>
> Side note: when i spoke about timeout i thought to WsTimeout. Main point is
> to know when to release the instance.
>
> Note also it would be awesome to have it for tomcat 8 :).
>

So if websockets was using the instance manager to get/destroy endpoint
instances (it does for Servlets / JSP tags / etc, but not that at the
moment) it would likely work for you, right ?

Rémy

Reply via email to