ICustomerDao couumerDao = (ICustomerDao) instanceBean("ipap_CustomerDao");
public Object instanceBean(String beanName) {
ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext(
new String[] { "com/sgpmss/ipap/ac-ipaps.xml" });
return ctx.getBean(beanName);
}