Examples of BackendProperties


Examples of eu.planets_project.tb.impl.system.BackendProperties

    public ExpTypeMigrate(){
      this.initBean();
    }
   
    private void initBean(){
      bp  = new BackendProperties();
      expTypeWeeUtils = new ExpTypeWeeUtils(this);
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

        hmOldExperimentTypes.put("experimentType.simpleCharacterisation", "simple characterisation");
    }

  private AdminManagerImpl(){
    // Also read basic properties:
    BackendProperties bp = new BackendProperties();
    APPROVAL_THRESHOLD_NUMBER_OF_INPUTS = bp.getExpAdminNoInputs();
    log.info("Set number of inputs before admin approval required at: "+APPROVAL_THRESHOLD_NUMBER_OF_INPUTS);
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

   
    public BatchExperimentListenerShortTimeout(){
      //constructor (even if empty) - required for MDB creation
     
      //specify the timeout for this listener
      BackendProperties bp = new BackendProperties();
      long timeout = Long.parseLong(bp.getProperty(BackendProperties.TIMEOUT_AUTO_APPROVED_EXPERIMENTS));
      timeOutMillis = timeout * 1000;
     
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

   
    public BatchExperimentListenerLongTimeout(){
      //constructor (even if empty) - required for MDB creation
     
      //specify the timeout for this listener
      BackendProperties bp = new BackendProperties();
      long timeout = Long.parseLong(bp.getProperty(BackendProperties.TIMEOUT_MANUALLY_APPROVED_EXPERIMENTS));
      timeOutMillis = timeout * 1000;
     
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

    private Migrate extractorMigrate;
   
   
    /** */
    public XCDLService() {
        BackendProperties bp = new BackendProperties();
        try {
            extractorWsdlCharacterise = new URL( bp.getProperty("extractor.endpoint.xcdl.characterise") );
            extractorWsdlMigrate = new URL( bp.getProperty("extractor.endpoint.xcdl.migrate") );
        } catch (MalformedURLException e) {
            e.printStackTrace();
            return;
        }
        System.out.println("Got Extractor endpoint: "+extractorWsdlCharacterise);
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

  public TestbedManagerImpl(){
      log.info("Constructing...");
      // Look up the experiment persistency handler:
      edao = ExperimentPersistencyImpl.getInstance();
    // Update the version number, if set in the properties:
        BackendProperties bp = new BackendProperties();
    String version = bp.getTestbedVersion();
    if( version != null && ! "".equals(version)) tbVersion = version;
        log.info("Constructed.");
  }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

     * @param individual
     */
    public OntologyPropertyImpl(RDFIndividual individual) {
      this.individual = individual;
      //retrieves a String similar to http://planetarium.hki.uni-koeln.de/planets_cms/sites/default/files/XCLOntology.owl
      this.xclOntologyLocation = new BackendProperties().getProperty(BackendProperties.XCLONTOLOGY_LOCATION);
    }
View Full Code Here

Examples of eu.planets_project.tb.impl.system.BackendProperties

  /**
   *
   */
  private void readProperties(){
      // Set the file store directories relative to the TB data file directory:
        BackendProperties bp = new BackendProperties();
    localFileDirBase = BackendProperties.getTBFileDir();
        FileInDir = localFileDirBase + IN_DIR_PATH;
        FileOutDir = localFileDirBase + OUT_DIR_PATH;
        FileStoreDir = localFileDirBase + FILE_DIR_PATH;
        externallyReachableFiledir = bp.getExternallyReachableFiledir();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.