org.jcoderz.commons.config
Class CfgLogMessage

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.config.CfgLogMessage
All Implemented Interfaces:
Serializable, LogMessageInfo
Direct Known Subclasses:
CfgLogMessage.ConfigurationFactoryFailed, CfgLogMessage.ConfigurationInitializationFailed, CfgLogMessage.ConfigurationTypeConversionFailed, CfgLogMessage.ConfigurationValueNotFound, CfgLogMessage.ConfigurationValueRead

public abstract class CfgLogMessage
extends LogMessageInfoImpl

Enumeration of all Configuration Service log messages.

Instances of this class are immutable.

The following Configuration Service are defined:

Author:
generated
See Also:
Serialized Form

Nested Class Summary
static class CfgLogMessage.ConfigurationFactoryFailed
          Failed to create ServiceConfiguration instance for service {CLASSNAME}. .
static class CfgLogMessage.ConfigurationInitializationFailed
          Failed to initialize Configuration Service. .
static class CfgLogMessage.ConfigurationTypeConversionFailed
          Config value {VALUE} for key {org.jcoderz.commons.config.ConfigurationKey:KEY} could not be converted to type {TYPE}. .
static class CfgLogMessage.ConfigurationValueNotFound
          Could not read config value for {KEY}. .
static class CfgLogMessage.ConfigurationValueRead
          Read config value for {KEY} = ''{VALUE}''. .
 
Field Summary
static CfgLogMessage.ConfigurationFactoryFailed CONFIGURATION_FACTORY_FAILED
          The log message for the event CONFIGURATION_FACTORY_FAILED.
static CfgLogMessage.ConfigurationInitializationFailed CONFIGURATION_INITIALIZATION_FAILED
          The log message for the event CONFIGURATION_INITIALIZATION_FAILED.
static CfgLogMessage.ConfigurationTypeConversionFailed CONFIGURATION_TYPE_CONVERSION_FAILED
          The log message for the event CONFIGURATION_TYPE_CONVERSION_FAILED.
static CfgLogMessage.ConfigurationValueNotFound CONFIGURATION_VALUE_NOT_FOUND
          The log message for the event CONFIGURATION_VALUE_NOT_FOUND.
static CfgLogMessage.ConfigurationValueRead CONFIGURATION_VALUE_READ
          The log message for the event CONFIGURATION_VALUE_READ.
 
Method Summary
static CfgLogMessage fromInt(int value)
          Factory method to create a CfgLogMessage class from its integer representation.
static CfgLogMessage fromString(String value)
          Factory method to create a CfgLogMessage class from its string representation.
 
Methods inherited from class org.jcoderz.commons.LogMessageInfoImpl
formatMessage, getAppName, getAppNameAbbreviation, getBusinessImpact, getCategory, getGroupName, getGroupNameAbbreviation, getLogLevel, getMessagePattern, getParameterList, getSolution, getSymbol, toInt, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONFIGURATION_INITIALIZATION_FAILED

public static final CfgLogMessage.ConfigurationInitializationFailed CONFIGURATION_INITIALIZATION_FAILED
The log message for the event CONFIGURATION_INITIALIZATION_FAILED.


CONFIGURATION_VALUE_NOT_FOUND

public static final CfgLogMessage.ConfigurationValueNotFound CONFIGURATION_VALUE_NOT_FOUND
The log message for the event CONFIGURATION_VALUE_NOT_FOUND.


CONFIGURATION_VALUE_READ

public static final CfgLogMessage.ConfigurationValueRead CONFIGURATION_VALUE_READ
The log message for the event CONFIGURATION_VALUE_READ.


CONFIGURATION_TYPE_CONVERSION_FAILED

public static final CfgLogMessage.ConfigurationTypeConversionFailed CONFIGURATION_TYPE_CONVERSION_FAILED
The log message for the event CONFIGURATION_TYPE_CONVERSION_FAILED.


CONFIGURATION_FACTORY_FAILED

public static final CfgLogMessage.ConfigurationFactoryFailed CONFIGURATION_FACTORY_FAILED
The log message for the event CONFIGURATION_FACTORY_FAILED.

Method Detail

fromString

public static final CfgLogMessage fromString(String value)
Factory method to create a CfgLogMessage class from its string representation.

Parameters:
value - the string representation.
Returns:
CfgLogMessage class from its string representation.

fromInt

public static final CfgLogMessage fromInt(int value)
Factory method to create a CfgLogMessage class from its integer representation.

Parameters:
value - the integer representation.
Returns:
CfgLogMessage class from its integer representation.


Copyright 2007 The jCoderZ Project.