示例#1
0
文件: ODEServer.java 项目: rrialq/ode
 /**
  * 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);
   }
 }
示例#2
0
文件: ODEServer.java 项目: rrialq/ode
 protected ProcessStoreImpl createProcessStore(
     EndpointReferenceContext eprContext, DataSource ds) {
   return new ProcessStoreImpl(
       eprContext, ds, _odeConfig.getDAOConnectionFactory(), _odeConfig, false);
 }