ERXPatternParser.AdaptorPortNumberConverter Class Reference

Inherits org::apache::log4j::helpers::PatternConverter.

Collaboration diagram for ERXPatternParser.AdaptorPortNumberConverter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

String convert (LoggingEvent event)

Package Functions

 AdaptorPortNumberConverter (FormattingInfo formattingInfo)

Package Attributes

String _portNumber


Detailed Description

The adaptor port number pattern converter is useful for logging the current primary adaptor port in log statements.

Deprecated:

Constructor & Destructor Documentation

AdaptorPortNumberConverter ( FormattingInfo  formattingInfo  )  [package]

Default package level constructor

Parameters:
formattingInfo current pattern formatting information


Member Function Documentation

String convert ( LoggingEvent  event  ) 

Returns the current port number on which the primary adaptor listens to. This will be the same number specified by WOPort launch argument.

If the application or adapter instance has not been created yet then "N/A" is logged.

Parameters:
event a given logging event
Returns:
the current application name


Member Data Documentation

String _portNumber [package]

holds a reference to the primary adaptor port


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:16 2012 for Project Wonder by  doxygen 1.5.8