1 15 16 package com.jdon.bussinessproxy; 17 18 import javax.servlet.http.HttpServletRequest ; 19 20 import com.jdon.controller.WebAppUtil; 21 22 28 public class ServiceServerFactory { 29 30 31 private static ServiceServerFactory ssf = new ServiceServerFactory(); 32 public static ServiceServerFactory getInstance() { 33 return ssf; 34 } 35 36 private ServiceServerFactory() { 37 } 38 39 public Object getService(TargetMetaDef targetMetaDef, 40 HttpServletRequest request) { 41 Object service = null; 42 try { 43 service = WebAppUtil.getService(targetMetaDef, request); 44 } catch (Exception ex) { 45 46 } 47 return service; 48 } 49 } 50 | Popular Tags |