5859606162636465
public void testAutowireBeanServiceProperty() throws Exception { Registry reg = buildFrameworkRegistry("BeanService.xml"); BeanA beanA = ( BeanA )reg.getService( BeanA.class ); beanA.methodA(); } }
260261262263264265266267268269270
} for (int n = 0; n < MAX_SIZE; n++) { StrictlyPooledSession bean = home.create(); bean.methodA(); bean.remove(); } } public static Test suite() throws Exception
5152535455565758596061
{ log.debug("Begin run, this="+this); try { StrictlyPooledSession session = home.create(); session.methodA(); session.remove(); } catch(Exception e) { runEx = e;
256257258259260261262263264265266