> Is this something worth contributing to Sling, or maybe just worth of a 
> how-to document?

I'm not that happy with the approach as of now. It has a bit of a "hack" 
feeling to it. But I'll wrap up after I'm done with my implementation and 
hopefully come up with a better example, perhaps also clarifying how jetty 
annotations can be used.

Regards,
Olaf

-----Original Message-----
From: Bertrand Delacretaz [mailto:bdelacre...@apache.org] 
Sent: Dienstag, 5. April 2016 14:47
To: users <users@sling.apache.org>
Subject: Re: Websockets in Sling

On Tue, Apr 5, 2016 at 12:03 PM, Olaf <o...@x100.de> wrote:
> ...I've gotten it to work by wrapping the init() method in a try/catch 
> block temporarily setting the context class loader to the current bundle's 
> class loader.
> This did the trick....

Cool!

Is this something worth contributing to Sling, or maybe just worth of a how-to 
document?

A list of links on the Sling website is long overdue anyway, so if you publish 
a how-to somewhere we can also just link to it.

-Bertrand

Reply via email to