Package com.agiletec.plugins.jpaddressbook.aps.system.services.addressbook

Examples of com.agiletec.plugins.jpaddressbook.aps.system.services.addressbook.AddressBookDAO


    super.setUp();
    this.init();
  }
 
  private void init() {
    AddressBookDAO addressBookDAO = new AddressBookDAO();
    DataSource dataSource = (DataSource) this.getApplicationContext().getBean("servDataSource");
    addressBookDAO.setDataSource(dataSource);
    ILangManager langManager = (ILangManager) this.getService(SystemConstants.LANGUAGE_MANAGER);
    addressBookDAO.setLangManager(langManager);
    this._addressBookDAO = addressBookDAO;
   
    this._helper = new JpaddressbookTestHelper(this.getApplicationContext());
  }
View Full Code Here


 
  public JpaddressbookTestHelper(ApplicationContext applicationContext) {
    DataSource dataSource = (DataSource) applicationContext.getBean("servDataSource");
    this.setDataSource(dataSource);
   
    this._addressBookDAO = new AddressBookDAO();
    this._addressBookDAO.setDataSource(dataSource);
    ILangManager langManager = (ILangManager) applicationContext.getBean(SystemConstants.LANGUAGE_MANAGER);
    this._addressBookDAO.setLangManager(langManager);
   
    this._profileManager = (IUserProfileManager) applicationContext.getBean(SystemConstants.USER_PROFILE_MANAGER);
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jpaddressbook.aps.system.services.addressbook.AddressBookDAO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.