Change scope of javax.websocket