final String name = (waAnn.name() != null && !waAnn.name().isEmpty()) ? waAnn.name() : webActorClass.getName();
// servlet
Dynamic d = sc.addServlet(name, WebActorServlet.class);
d.setInitParameter(WebActorServlet.ACTOR_CLASS_PARAM, webActorClass.getName());
d.setAsyncSupported(true);
d.addMapping(waAnn.httpUrlPatterns());
d.addMapping(waAnn.value());
// web socket
ServerContainer scon = (ServerContainer) sc.getAttribute("javax.websocket.server.ServerContainer");
assert scon!=null : "Container does not support websockets !!!";