Package ca.carleton.gcrc.couch.date.impl

Examples of ca.carleton.gcrc.couch.date.impl.DateSourceCouchWithCluster


      throw new ServletException("Can not find configuration object");
    }
    if( configurationObj instanceof DateServletConfiguration ){
      configuration = (DateServletConfiguration)configurationObj;

      DateSourceCouchWithCluster dateSource;
      try {
        dateSource = new DateSourceCouchWithCluster(configuration.getAtlasDesignDocument());
      } catch (Exception e) {
        throw new ServletException("Unable to create date source",e);
      }
     
      actions = new DateServiceActions(dateSource);
     
      try {
        robot = new DateRobotThread(configuration.getAtlasDesignDocument(), dateSource.getClusterTree());
        robot.start();
      } catch (Exception e) {
        throw new ServletException("Unable to start date robot",e);
      }
     
View Full Code Here

TOP

Related Classes of ca.carleton.gcrc.couch.date.impl.DateSourceCouchWithCluster

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.