Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Field Summary
`static String` | `ENABLE_SYSOUT_REDIRECT` Property to enable the `System.out` to the active logging context.

Constructor Summary
`ConfigurationModuleSysOut()`

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.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### 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

Constructor Detail

### ConfigurationModuleSysOut

    public ConfigurationModuleSysOut()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Package PERSMIDWIFE 3.19.1 API
Copyright © {inceptionYear}-2020 eHealth. All Rights Reserved.