This commit is contained in:
Redkale
2019-06-19 16:46:12 +08:00
parent 4724763991
commit 340a3a8fa3

View File

@@ -27,6 +27,8 @@ public final class _DyncChatWebSocketServlet extends WebSocketServlet {
@Resource @Resource
private ChatService _redkale_resource_0; private ChatService _redkale_resource_0;
public static Map<String, Annotation[]> _redkale_annotations = new java.util.HashMap();
public _DyncChatWebSocketServlet() { public _DyncChatWebSocketServlet() {
super(); super();
this.messageTextType = _DyncChatWebSocketMessage.class; this.messageTextType = _DyncChatWebSocketMessage.class;
@@ -71,9 +73,6 @@ public final class _DyncChatWebSocketServlet extends WebSocketServlet {
@ConvertDisabled @ConvertDisabled
public _DyncChatWebSocket _redkale_websocket; public _DyncChatWebSocket _redkale_websocket;
@ConvertDisabled
public static Annotation[] _redkale_annotations;
@Override @Override
public String[] getNames() { public String[] getNames() {
return new String[]{"message", "extmap"}; return new String[]{"message", "extmap"};
@@ -88,8 +87,9 @@ public final class _DyncChatWebSocketServlet extends WebSocketServlet {
@Override @Override
public Annotation[] getAnnotations() { public Annotation[] getAnnotations() {
if (_redkale_annotations == null) return new Annotation[0]; Annotation[] annotations = _redkale_annotations.get("org/redkale/test/wsdync/_DyncChatWebSocketServlet$_DyncChatWebSocketMessage_sendmessagee_00");
return Arrays.copyOf(_redkale_annotations, _redkale_annotations.length); if (annotations == null) return new Annotation[0];
return Arrays.copyOf(annotations, annotations.length);
} }
public void execute(_DyncChatWebSocket websocket) { public void execute(_DyncChatWebSocket websocket) {
@@ -115,9 +115,6 @@ public final class _DyncChatWebSocketServlet extends WebSocketServlet {
@ConvertDisabled @ConvertDisabled
public _DyncChatWebSocket _redkale_websocket; public _DyncChatWebSocket _redkale_websocket;
@ConvertDisabled
public static Annotation[] _redkale_annotations;
@Override @Override
public String[] getNames() { public String[] getNames() {
return new String[]{"roomid"}; return new String[]{"roomid"};
@@ -131,8 +128,9 @@ public final class _DyncChatWebSocketServlet extends WebSocketServlet {
@Override @Override
public Annotation[] getAnnotations() { public Annotation[] getAnnotations() {
if (_redkale_annotations == null) return new Annotation[0]; Annotation[] annotations = _redkale_annotations.get("org/redkale/test/wsdync/_DyncChatWebSocketServlet$_DyncChatWebSocketMessage_joinroom_01");
return Arrays.copyOf(_redkale_annotations, _redkale_annotations.length); if (annotations == null) return new Annotation[0];
return Arrays.copyOf(annotations, annotations.length);
} }
public void execute(_DyncChatWebSocket websocket) { public void execute(_DyncChatWebSocket websocket) {