OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.logging
Class AdfBufferedLogWriter

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.logging.AdfLogWriter
               |
               +--oracle.adf.view.js.logging.AdfBufferedLogWriter
Direct Known Subclasses:
AdfAlertLogWriter, AdfClientFileLogWriter

public class AdfBufferedLogWriter
extends AdfLogWriter
AdfLogWriter subclass that buffers the log output



Field Summary

private Object
_loggedMessages


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass


Fields inherited from org.ecmascript.object.Object

prototype


Constructor Summary

public
AdfBufferedLogWriter()
AdfLogWriter subclass that buffers the log output


Method Summary

protected Object
Clear()
Clears the contents of the buffer without closing it
public Object
flush()
Override to Clear away any messages in the buffer
public Object
getLogRecords()
Returns a copy of the AdfLogRecords ordered from oldest to newest
protected Object
Init()
Initialize the BufferedAdfLogWriter
protected Object
PublishImpl(Object logRecord)
Buffer the message


Methods inherited from oracle.adf.view.js.logging.AdfLogWriter

CheckIfClosed, close, FormatError, FormatLevel, FormatLogRecord, FormatMessage, FormatWhen, getFilter, publish, setFilter


Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString


Field Detail


_loggedMessages

private Object _loggedMessages

Constructor Detail


AdfBufferedLogWriter

public AdfBufferedLogWriter()

AdfLogWriter subclass that buffers the log output

Method Detail


Clear

protected Object Clear()

Clears the contents of the buffer without closing it

Return:
Object

flush

public Object flush()

Override to Clear away any messages in the buffer

Return:
Object
Overrides:
AdfLogWriter.flush()

getLogRecords

public Object getLogRecords()

Returns a copy of the AdfLogRecords ordered from oldest to newest

Return:
Object

Init

protected Object Init()

Initialize the BufferedAdfLogWriter

Return:
Object
Overrides:
AdfObject.Init()

PublishImpl

protected Object PublishImpl(Object logRecord)

Buffer the message

Parameters:
logRecord  -  The AdfLogRecord to publish to the AdfLogWriter
Return:
Object
Overrides:
AdfLogWriter.PublishImpl(Object)

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Generated on 2010.03.26 00:15 UTC
Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.