/** * Initialize the DAO. * * @throws ServletException */ protected void initDAO() throws ServletException { __log.info(__msgs.msgOdeUsingDAOImpl(_odeConfig.getDAOConnectionFactory())); try { _daoCF = _db.createDaoCF(); } catch (Exception ex) { String errmsg = __msgs.msgDAOInstantiationFailed(_odeConfig.getDAOConnectionFactory()); __log.error(errmsg, ex); throw new ServletException(errmsg, ex); } }
protected ProcessStoreImpl createProcessStore( EndpointReferenceContext eprContext, DataSource ds) { return new ProcessStoreImpl( eprContext, ds, _odeConfig.getDAOConnectionFactory(), _odeConfig, false); }