Project Wonder 2.0

er.extensions
Class ERXLog4JConfiguration

java.lang.Object
  extended bycom.webobjects.appserver.WOElement
      extended bycom.webobjects.appserver.WOComponent
          extended byer.extensions.ERXLog4JConfiguration
All Implemented Interfaces:
Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults

public class ERXLog4JConfiguration
extends WOComponent

Configures and manages the log4j logging system. Will also configure the system for rapid turn around, ie when WOCaching is disabled when the conf file changes it will get reloaded.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.webobjects.appserver.WOComponent
WOComponent._EventLoggingEnabler, WOComponent.Event
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor
 
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility
 
Nested classes inherited from class com.webobjects.foundation.NSValidation
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException
 
Field Summary
static EOSortOrdering NAME_SORT_ORDERING
           
 boolean showAll
           
static NSMutableArray SORT_BY_NAME
           
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
_CLASS, NullValue
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERXLog4JConfiguration(WOContext aContext)
           
 
Method Summary
 WOComponent addLogger()
           
 void addLogger(Logger log, NSMutableArray result)
           
 WOComponent addRuleKey()
           
 void appendToResponse(WOResponse r, WOContext c)
           
 String bgColor()
           
 String conversionPattern()
           
 Integer debugLevel()
           
 Integer errorLevel()
           
 Integer fatalLevel()
           
 WOComponent filter()
           
 String filterString()
           
 int indentLevel()
           
 Integer infoLevel()
           
 Logger logger()
           
 boolean loggerIsNotDebug()
           
 boolean loggerIsNotError()
           
 boolean loggerIsNotFatal()
           
 boolean loggerIsNotInfo()
           
 boolean loggerIsNotWarn()
           
 Integer loggerLevelValue()
           
 String loggerName()
           
 String loggerPropertiesString()
           
 NSArray loggers()
           
 Logger parentForLogger(Logger l)
           
 WOComponent resetFilter()
           
 String ruleKey()
           
 void setConversionPattern(String newPattern)
           
 void setFilterString(String newValue)
           
 void setLogger(Logger newValue)
           
 void setLoggerLevelValue(Integer newValue)
           
 void setLoggerName(String newValue)
           
 void setRuleKey(String newValue)
           
 WOComponent showAll()
           
 WOComponent showExplicitlySet()
           
 Integer unsetLevel()
           
 WOComponent update()
           
 WOComponent updateConversionPattern()
           
 Integer warnLevel()
           
 
Methods inherited from class com.webobjects.appserver.WOComponent
_associationWithName, _awakeInContext, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

showAll

public boolean showAll

NAME_SORT_ORDERING

public static final EOSortOrdering NAME_SORT_ORDERING

SORT_BY_NAME

public static final NSMutableArray SORT_BY_NAME
Constructor Detail

ERXLog4JConfiguration

public ERXLog4JConfiguration(WOContext aContext)
Method Detail

logger

public Logger logger()

setLogger

public void setLogger(Logger newValue)

filterString

public String filterString()

setFilterString

public void setFilterString(String newValue)

loggerName

public String loggerName()

setLoggerName

public void setLoggerName(String newValue)

ruleKey

public String ruleKey()

setRuleKey

public void setRuleKey(String newValue)

parentForLogger

public Logger parentForLogger(Logger l)

loggers

public NSArray loggers()

addLogger

public void addLogger(Logger log,
                      NSMutableArray result)

filter

public WOComponent filter()

resetFilter

public WOComponent resetFilter()

update

public WOComponent update()

showAll

public WOComponent showAll()

showExplicitlySet

public WOComponent showExplicitlySet()

addLogger

public WOComponent addLogger()

addRuleKey

public WOComponent addRuleKey()

debugLevel

public Integer debugLevel()

infoLevel

public Integer infoLevel()

warnLevel

public Integer warnLevel()

errorLevel

public Integer errorLevel()

fatalLevel

public Integer fatalLevel()

unsetLevel

public Integer unsetLevel()

loggerLevelValue

public Integer loggerLevelValue()

loggerIsNotDebug

public boolean loggerIsNotDebug()

loggerIsNotInfo

public boolean loggerIsNotInfo()

loggerIsNotWarn

public boolean loggerIsNotWarn()

loggerIsNotError

public boolean loggerIsNotError()

loggerIsNotFatal

public boolean loggerIsNotFatal()

loggerPropertiesString

public String loggerPropertiesString()

setLoggerLevelValue

public void setLoggerLevelValue(Integer newValue)

bgColor

public String bgColor()

indentLevel

public int indentLevel()

appendToResponse

public void appendToResponse(WOResponse r,
                             WOContext c)

conversionPattern

public String conversionPattern()

setConversionPattern

public void setConversionPattern(String newPattern)

updateConversionPattern

public WOComponent updateConversionPattern()

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.