Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.elexis
Class ElexisConfigurationConstants

java.lang.Object
  extended by ch.elexis.ElexisConfigurationConstants

public class ElexisConfigurationConstants
extends java.lang.Object

Poor mans dependency injection. This file allows for the injection of an external configuration. There are certain parts in code which are "hard-wired" for the application of certain tasks. These may however be necessary to be overriden, if e.g. someone wants to select a specific output plugin.

If a certain code part is modified for external configuration it is marked with
//PMDI - Dependency Injection through ElexisConfigurationConstants
so search for occurences of this, to find respective code parts.

If you want to apply this, create a fragment with ch.elexis as host, that has the file ElexisConfigurationConstants.properties in its root, with the respective configuration parameter. If no such configuration file is found, Elexis simply sticks to its default behaviour!
Why? We need to find a separation for instantiation of country specific implementations!

Author:
MEDEVIT - office AT medevit DOT at

Field Summary
static java.lang.String CONFIG_FILE_NAME
           
static boolean extConfigFile
           
static java.lang.String rezeptausgabe
          Rezeptausgabe Selektion
 
Constructor Summary
ElexisConfigurationConstants()
           
 
Method Summary
static boolean init()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE_NAME

public static java.lang.String CONFIG_FILE_NAME

extConfigFile

public static boolean extConfigFile

rezeptausgabe

public static java.lang.String rezeptausgabe
Rezeptausgabe Selektion

Constructor Detail

ElexisConfigurationConstants

public ElexisConfigurationConstants()
Method Detail

init

public static boolean init()

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis