public void testContainService() {
    MemberService mService =
        (MemberService) SpringUtil.getContext().getBean(MemberService.class.getName());
    assertNotNull(mService);

    ViewbarService vService =
        (ViewbarService) SpringUtil.getContext().getBean(ViewbarService.class.getName());
    assertNotNull(vService);

    BaseService bService = (BaseService) SpringUtil.getContext().getBean("loginService");
    assertNotNull(bService);
  }
 public static ConfigService getConfigService() {
   ApplicationContext ctx = SpringUtil.getContext();
   ConfigServiceUtil util = (ConfigServiceUtil) ctx.getBean(ConfigServiceUtil.class.getName());
   return util.configService;
 }
 public static RollingDAO getRollingDao() {
   ApplicationContext ctx = SpringUtil.getContext();
   RollingDAOUtil util = (RollingDAOUtil) ctx.getBean(RollingDAOUtil.class.getName());
   return util.rollingDao;
 }