`
Xgw123485
  • 浏览: 88511 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
com.ibm.bpc.common.jar com.ibm.bpc.core.jar com.ibm.bpc.runtime.jar com.ibm.jaxws.thinclient_7.0.0.jar com.ibm.wps.customtable.6.2.0.jar com.ibm.ws.runtime.jar kxml2-2.3.0.jar log4j-1.2.15.jar ojdbc6.jar
IBM ESB APi Ant打包实例

MsgBO

package com.huawei.bo; import oracle.sql.CLOB; public class MsgBO implements java.io.Serializable { private static final long serialVersionUID = -8282392921701998281L; private String sender; private String recevier; private String msgType; private String msg; public String getSender() { ...
//BusinessLog private String businessId; private String transactionId; private String moduleId;           //默认为SiebelCRM private String serviceNumber; private String operator; private String areaId; private String departmentId; private String remoteHost; private String startTime; private ...
package com.huawei.bo; import java.util.List; /** * XML报文解析入库操作,具体格式 * EsbRequest *    oid *    isLongFlow *    businessLog *       businessId *       transactionId *       moduleId *       serviceNumber *       operator *       areaId *       startTime *       endTime *       status ...

WriteLog

package com.huawei.esb; import org.apache.log4j.Logger; public class WriteLog { public final static String configFile = "log4j.properties"; private static Logger logger = initLog(); static Logger initLog() {     //为防止文件监听服务没起,此处先调用一次,将服务启起来     FileManager.getESBProperty(" ...
package com.huawei.esb; import java.util.List; import java.io.File; import java.util.ArrayList; import java.util.regex.Pattern; public class PatternEnumerateFile { public static final String REGEX="enumerate(\\w|_\\w|-\\w)*\\.xml"; private static List<String> enumPaths=new Array ...
//加载配置文件配置信息 private Properties loadProperties() { Properties prop = new Properties(); try { if (configFile != null) { FileInputStream in = new FileInputStream(configFile); prop.load(in); in.close(); } else { configFile = defaultConfigFile; URL url = this.g ...
//注册需要监听的文件(从配置文件读取配置信息) public void regFileListener() { Properties prop = loadProperties(); String num = prop.getProperty("ListenerFileNum"); String Interval = prop.getProperty("Interval"); if (("".equals(num)) || num == null || ("".equals(Interval)) ...
package com.huawei.esb; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.Iterator; import java.util. ...
private void println() throws IOException { String line; StringBuffer buf = new StringBuffer(); FileInputStream in = new FileInputStream(enumerateFiles.get(currentEnumFilePath).getEnumFile()); java.io.BufferedReader reader = new java.io.BufferedReader(new java.io.InputStreamReader(in)) ...
private void loadProperties() { //更新时间 this.lastModified = file.lastModified(); try { logger.info("The properties file[" + getPath() + "] loading ..."); FileInputStream in = new FileInputStream(file); prop.load(in); //print all properties Enumera ...
public void run() { if (isFileUpdated() && fileFlag) {         logger.info("The properties file[" + getPath() + "] was modified.");         loadFile(); }else if(isFileUpdated() && !fileFlag){ StringBuffer sb=new StringBuffer(); for(String s : enumera ...
package com.huawei.esb; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Enumeration; import java.util.HashMap; import java.util.List; import java.util ...
/** * 校验用户、密码、TenantID正确性 * * @param userID * @param Password * @param TenantID * @return Boolean */ public static Boolean checkPassword(String userID, String Password, String TenantID) { log.info("check Password begin..."); String sql = FileManager.getESBProperty(&q ...
Global site tag (gtag.js) - Google Analytics