网上文章收集

中国联通短信网关接入程序源代码(SGIP1.2协议)
http://sunnylocus.iteye.com/blog/567374

主题:说一说java的concurrent包-系列文章
http://www.iteye.com/topic/1121021

轻松使用xfire编写返回值为list的webservice服务
http://www.blogjava.net/sxyx2008/archive/2010/07/14/326063.html

long startTime = 0;
			long endTime = 0;
			long ignoreTime= 16200000;
			long minIgnoreTime = 900000;
			long last=0;
			Class<?> statmain = Class.forName("com.qwserv.itm.pal.host.performance.StatMain");
			Object statobj = statmain.newInstance();
			Method getBreaks = statmain.getMethod("getBreaks", String.class,long.class,long.class,int.class,int.class,Person.class,long.class,long.class,String.class);
			List<BreakStat> bsList=new ArrayList<BreakStat>();
			if(isfilter.equals("0")){//all data
		    	bsList=(ArrayList<BreakStat>)getBreaks.invoke(statobj, domainid, startTime, endTime, 0, 0, person, -1,-1,"");
			}else{
			  	bsList=(ArrayList<BreakStat>)getBreaks.invoke(statobj,domainid, startTime, endTime, 0, 0, person, ignoreTime,minIgnoreTime,"");
			}
			

猜你喜欢

转载自sailingsky.iteye.com/blog/1435193
今日推荐