%@ page import="java.io.*, java.util.*"%> <%@ page language="java" contentType="text/html;charset=utf-8"%> <%@ page import="com.eactive.eai.agent.AgentUtil"%> <%@ page import="com.eactive.eai.agent.command.Command"%> <%@ page import="com.eactive.eai.common.EAITable"%> <%@ page import="com.eactive.eai.common.stdmessage.*"%> <%@ page import="com.eactive.eai.common.server.EAIServerManager"%> <%@ page import="java.util.HashMap"%> <%@ page import="com.eactive.eai.message.StandardMessage"%> <%! /** *
* 문자열을 받아서 널이면 제로스트링을, 아니면 트림된 문자열을 리턴. ** @param String 변환 대상 * @return 'String' */ public static String checkNull( String str ) { String sResult = new String(); if ( str == null ) { sResult = ""; } else { sResult = str.trim(); } return sResult; } %> <% STDMessageManager manager = STDMessageManager.getInstance(); String[] alls = manager.getAllSTDMessageKeys(); String action = request.getParameter("actionType"); String selectedKey = request.getParameter("selectedKey"); if(selectedKey == null && alls.length>=1) { selectedKey = alls[0]; } if ("reload".equals(action)){ manager.reload(selectedKey); }else if ("reloadAll".equals(action)){ manager.reload(); }else { ; } StandardMessage vo = null; if(selectedKey != null) { vo = manager.getSTDMessage(selectedKey); } %>
EAI 내부표준 메시지 관리
| Property Key | Property Value |
| XML : | <%=vo.toPrettyJson(false)%> |