org.jcoderz.commons.connector
Class ConLogMessage

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.connector.ConLogMessage
All Implemented Interfaces:
Serializable, LogMessageInfo
Direct Known Subclasses:
ConLogMessage.ConnectionRequestFailed, ConLogMessage.ConnectionResponseFailed, ConLogMessage.ConnectionTimeoutError, ConLogMessage.CreatingConnectorFailed, ConLogMessage.InitializingSslFailed

public abstract class ConLogMessage
extends LogMessageInfoImpl

Enumeration of all Connector log messages.

Instances of this class are immutable.

The following Connector are defined:

Author:
generated
See Also:
Serialized Form

Nested Class Summary
static class ConLogMessage.ConnectionRequestFailed
          Failure whilst sending a request to {org.jcoderz.commons.types.Url:url}. .
static class ConLogMessage.ConnectionResponseFailed
          Failure whilst receiving a response from {org.jcoderz.commons.types.Url:url}. .
static class ConLogMessage.ConnectionTimeoutError
          Connection timeout whilst waiting for response from {org.jcoderz.commons.types.Url:url}.
static class ConLogMessage.CreatingConnectorFailed
          Creating a container managed http connection failed to {org.jcoderz.commons.types.Url:url}. .
static class ConLogMessage.InitializingSslFailed
          Initializing SSL for outgoing connections failed with reason {String:reason}. .
 
Field Summary
static ConLogMessage.ConnectionRequestFailed CONNECTION_REQUEST_FAILED
          The log message for the event CONNECTION_REQUEST_FAILED.
static ConLogMessage.ConnectionResponseFailed CONNECTION_RESPONSE_FAILED
          The log message for the event CONNECTION_RESPONSE_FAILED.
static ConLogMessage.ConnectionTimeoutError CONNECTION_TIMEOUT_ERROR
          The log message for the event CONNECTION_TIMEOUT_ERROR.
static ConLogMessage.CreatingConnectorFailed CREATING_CONNECTOR_FAILED
          The log message for the event CREATING_CONNECTOR_FAILED.
static ConLogMessage.InitializingSslFailed INITIALIZING_SSL_FAILED
          The log message for the event INITIALIZING_SSL_FAILED.
 
Method Summary
static ConLogMessage fromInt(int value)
          Factory method to create a ConLogMessage class from its integer representation.
static ConLogMessage fromString(String value)
          Factory method to create a ConLogMessage 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

CONNECTION_REQUEST_FAILED

public static final ConLogMessage.ConnectionRequestFailed CONNECTION_REQUEST_FAILED
The log message for the event CONNECTION_REQUEST_FAILED.


CONNECTION_RESPONSE_FAILED

public static final ConLogMessage.ConnectionResponseFailed CONNECTION_RESPONSE_FAILED
The log message for the event CONNECTION_RESPONSE_FAILED.


CONNECTION_TIMEOUT_ERROR

public static final ConLogMessage.ConnectionTimeoutError CONNECTION_TIMEOUT_ERROR
The log message for the event CONNECTION_TIMEOUT_ERROR.


CREATING_CONNECTOR_FAILED

public static final ConLogMessage.CreatingConnectorFailed CREATING_CONNECTOR_FAILED
The log message for the event CREATING_CONNECTOR_FAILED.


INITIALIZING_SSL_FAILED

public static final ConLogMessage.InitializingSslFailed INITIALIZING_SSL_FAILED
The log message for the event INITIALIZING_SSL_FAILED.

Method Detail

fromString

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

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

fromInt

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

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


Copyright 2007 The jCoderZ Project.