mirror of
https://gitee.com/BDWare/front-base
synced 2025-01-09 17:34:01 +00:00
merge dengshuang-feature
refactor: NetworkManager
This commit is contained in:
parent
be91e3c5b9
commit
4a15e3d904
@ -2,6 +2,7 @@ package org.bdware.server.action;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.bdware.sc.util.JsonUtil;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.RandomAccessFile;
|
||||
@ -77,7 +78,6 @@ public class ActionExecutor<T, U> {
|
||||
return;
|
||||
}
|
||||
Method[] methods = obj.getClass().getDeclaredMethods();
|
||||
LOGGER.debug("zzz2" + obj.getClass());
|
||||
for (Method method : methods) {
|
||||
if (null != method.getAnnotation(Action.class)) {
|
||||
if (method.getAnnotation(Action.class).alias().length == 0) {
|
||||
@ -116,7 +116,7 @@ public class ActionExecutor<T, U> {
|
||||
|
||||
public void handle(String action, final U args, final T callback)
|
||||
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
|
||||
// logger.info("[ActionExecutor] handle : "+action);
|
||||
LOGGER.info("[ActionExecutor] handle : " + action + " ->" + JsonUtil.toJson(args));
|
||||
|
||||
if (null != action) {
|
||||
if (staticData.containsKey(action)) {
|
||||
|
Loading…
Reference in New Issue
Block a user