title: Spark: How do I get the WebSocket instance?
body: <p>In Spark (sparkjava), when I annotate @WebSocket it works <a href="http://sparkjava.com/documentation.html#websockets" rel="nofollow noreferrer">as documented</a> for me. Great :)</p>
  
  <p>However. Since the my annotated class instance is created by the framework - I loose control over it. I would like to be able to inject services/repositories into the actual WebSocket instance. Or inject the websocket instance into a service. </p>
  
  <p>The only way I've figured I can communicate to it currently, is though static context, which I find messy.</p>
  
  <p>Any tips?</p>