Package ch.agent.crnickl.api

Examples of ch.agent.crnickl.api.SimpleDatabaseManager


    if (dbm == null) {
      URL url = ClassLoader.getSystemClassLoader().getResource(DB_CONFIG);
      if (url == null)
        throw new RuntimeException(String.format(
            "Resource \"%s\" not found.", DB_CONFIG));
      dbm = new SimpleDatabaseManager("file=" + url.getFile());
     
      Map<String, String> parameters = dbm.getParameters();
      isTransactional = TRUE.equals(parameters.get(IS_TRANSACTIONAL));
      supportsRegex = TRUE.equals(parameters.get(SUPPORTS_REGEX));
      isPersistent = TRUE.equals(parameters.get(IS_PERSISTENT));
View Full Code Here

TOP

Related Classes of ch.agent.crnickl.api.SimpleDatabaseManager

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.