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