be.ehealth.technicalconnector.config.impl
Class ConfigurationModuleSysOut
java.lang.Object
be.ehealth.technicalconnector.config.impl.ConfigurationModuleSysOut
- All Implemented Interfaces:
- ConfigurationModule
public class ConfigurationModuleSysOut
- extends Object
- implements ConfigurationModule
This configurationmodule will redirect the System.out
to the logging the proper logging context.
Attention: there could be a performance impact on your application
If you want to activate this module the property ENABLE_SYSOUT_REDIRECT
must have the value true.
Implementation of ConfigurationModule
Method Summary |
void |
init(Configuration config)
Method that initialise the configuration module. |
void |
unload()
Method that restores the configuration module and reset the system to the initial situation. |
ENABLE_SYSOUT_REDIRECT
public static final String ENABLE_SYSOUT_REDIRECT
- Property to enable the
System.out
to the active logging context.
- See Also:
- Constant Field Values
ConfigurationModuleSysOut
public ConfigurationModuleSysOut()
init
public void init(Configuration config)
- Description copied from interface:
ConfigurationModule
- Method that initialise the configuration module.
- Specified by:
init
in interface ConfigurationModule
unload
public void unload()
throws TechnicalConnectorException
- Description copied from interface:
ConfigurationModule
- Method that restores the configuration module and reset the system to the initial situation.
- Specified by:
unload
in interface ConfigurationModule
- Throws:
TechnicalConnectorException
Connector Packaging TECHNICAL 3.25.0 API
Copyright © {inceptionYear}-2023 eHealth. All Rights Reserved.