architectureInterface
Interface InternalInformationPortInterface

All Known Implementing Classes:
InternalInformationPortController

public interface InternalInformationPortInterface

Architecture interface for component InternalInformationPort.

Used for information exchange (for example via log files (output), property files (input) or display output) with "internal" communication partners (usually the system administrator).

Must be thread-safe.

Author:
Karl-Peter Fuchs

Method Summary
 java.util.logging.Logger getLogger()
          Must return a Logger, that can be used to log messages in a file and/or display them on the standard output (depending on the log Levels, specified in property file).
 java.lang.String getProperty(java.lang.String key)
          Must return the property with the specified key from the property file.
 java.lang.Object setProperty(java.lang.String key, java.lang.String value)
          Must set the property with the specified key to the bypassed value.
 

Method Detail

getLogger

java.util.logging.Logger getLogger()
Must return a Logger, that can be used to log messages in a file and/or display them on the standard output (depending on the log Levels, specified in property file).

Returns:
Logger that can be used to log messages in a file and/or display them on the standard output.

getProperty

java.lang.String getProperty(java.lang.String key)
Must return the property with the specified key from the property file.

Parameters:
key - The property key.
Returns:
The property with the specified key in the property file.

setProperty

java.lang.Object setProperty(java.lang.String key,
                             java.lang.String value)
Must set the property with the specified key to the bypassed value.

Parameters:
key - Identifier of the property.
value - The value corresponding to the key.
Returns:
The previous value of the specified key, or null if it did not have one.