CmmProgramService 가져와 실행해 봅시다.
public void testForInsert() throws Exception {
ProxyFactoryBean pb = context.getBean("&loggerProgramServiceProxy", ProxyFactoryBean.class);
System.out.println(pb.getObject());
CmmProgramService<ZValue> dp = (CmmProgramService<ZValue>)pb.getObject();
ParameterContext<ZValue> paramCtx = new ParameterContext<ZValue>();
ZValue param = new ZValue();
paramCtx.setParam(param);
paramCtx.setRequest(new MockHttpServletRequest());
paramCtx.setResponse(new MockHttpServletResponse());
paramCtx.setModel(new ModelMap());
dp.forInsert(paramCtx);
}
'JAVA' 카테고리의 다른 글
[JAVA] context root path (0) | 2017.11.01 |
---|---|
[JAVA] CMYK 이미지 처리 (0) | 2017.11.01 |
[JAVA]ClassLoader2 (0) | 2017.11.01 |
[JAVA] ClassLoader (0) | 2017.10.30 |
[JAVA]classes 위치 가져오기 (0) | 2017.10.30 |