|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.kernel.log.impl.AbstractLoggingMechanism
org.openmdx.kernel.log.impl.PluggableLoggingMechanismProxy
public class PluggableLoggingMechanismProxy
This is the proxy mechanism for pluggable logging mechanisms. It decouples PluggableLoggingMechanism from the logging framework.
| Field Summary |
|---|
| Fields inherited from class org.openmdx.kernel.log.impl.AbstractLoggingMechanism |
|---|
OPEN_DATE_FORMAT |
| Constructor Summary | |
|---|---|
PluggableLoggingMechanismProxy(String logName,
PluggableLoggingMechanism mechanism)
|
|
| Method Summary | |
|---|---|
boolean |
acceptsPerformanceLogs()
Checks if the mechanisms accepts performance logs. |
boolean |
acceptsStandardLogs()
Checks if the mechanisms accepts standard logs. |
boolean |
acceptsStatisticLogs()
Checks if the mechanisms accepts statistics logs. |
String |
getName()
Return the name of the mechanism. |
protected void |
logEvent(Log log,
LogEvent event)
Logs a log event |
protected void |
notifyLogClosed(Log log)
Puts out a message that a log was closed on this mechanism |
protected void |
notifyLoggingLevelChange(Log log,
int loggingLevel)
Puts out a message that a log changed its logging level |
protected void |
notifyLoggingPerformanceChange(Log log,
boolean state)
Puts out a message that a log changed its performance level |
protected void |
notifyLoggingStatisticsChange(Log log,
boolean state)
Puts out a message that a log changed its statistics level |
protected void |
notifyLogOpened(Log log,
int loggingLevel)
Puts out a message that a log was opened on this mechanism |
| Methods inherited from class org.openmdx.kernel.log.impl.AbstractLoggingMechanism |
|---|
acceptsNotificationLogs, close, createFormatter, createNotificationEvent, getActiveEntities, getDateOpend, getFormatter, getLoggers, getReadableEntities, getReader, getRemoveableEntities, isOpen, isSharedLog, open, removeEntity, setFormatter, setNotification, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openmdx.kernel.log.ManageableMechanism |
|---|
getActiveEntities, getReadableEntities, getReader, getRemoveableEntities, removeEntity |
| Constructor Detail |
|---|
public PluggableLoggingMechanismProxy(String logName,
PluggableLoggingMechanism mechanism)
| Method Detail |
|---|
protected void logEvent(Log log,
LogEvent event)
logEvent in class AbstractLoggingMechanismlog - the log objectevent - the log eventpublic String getName()
getName in class AbstractLoggingMechanism
protected void notifyLogOpened(Log log,
int loggingLevel)
notifyLogOpened in class AbstractLoggingMechanismlog - a log objectloggingLevel - a logging levelprotected void notifyLogClosed(Log log)
notifyLogClosed in class AbstractLoggingMechanismlog - a log object
protected void notifyLoggingLevelChange(Log log,
int loggingLevel)
notifyLoggingLevelChange in class AbstractLoggingMechanismlog - - a log objectloggingLevel - - a logging level
protected void notifyLoggingPerformanceChange(Log log,
boolean state)
notifyLoggingPerformanceChange in class AbstractLoggingMechanismlog - - a log objectstate - - the new state
protected void notifyLoggingStatisticsChange(Log log,
boolean state)
notifyLoggingStatisticsChange in class AbstractLoggingMechanismlog - - a log objectstate - - the new statepublic boolean acceptsStandardLogs()
acceptsStandardLogs in class AbstractLoggingMechanismpublic boolean acceptsStatisticLogs()
acceptsStatisticLogs in class AbstractLoggingMechanismpublic boolean acceptsPerformanceLogs()
acceptsPerformanceLogs in class AbstractLoggingMechanism
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||