1 package org.simantics.db.common.internal.config;
5 import org.simantics.db.common.internal.Activator;
6 import org.simantics.db.common.utils.Logger;
9 * @author Tuukka Lehtonen
12 public class InternalClientConfig {
15 * Name of the DB client temporary data directory.
17 public final static String DB_CLIENT_TEMP_DIR_NAME = "temp";
20 * Name of the DB client log file.
22 public final static String DB_CLIENT_LOG_FILE_NAME = "db-client.log";
25 * The directory used for temporary data by the database client. If the
26 * program if being ran in an OSGi container, {@link Activator} will attempt
27 * to configure this path based on the current OSGi instance area location.
31 public static File DB_CLIENT_TEMP_DIR = new File(DB_CLIENT_TEMP_DIR_NAME);
34 * A relative or full absolute path to the log file created by
35 * {@link Logger}. Used statically for initialization in {@link Logger} and
36 * therefore must be configured prior to referencing {@link Logger}. If the
37 * program if being ran in an OSGi container, {@link Activator} will attempt
38 * to configure this path based on the current OSGi instance area location.
43 public static String DB_CLIENT_LOG_FILE = DB_CLIENT_LOG_FILE_NAME;