public class LoggerContextVO
extends java.lang.Object
implements java.io.Serializable
Some of the LoggerContext or Logger attributes MUST not survive serialization, e.g appenders, level values etc, as these attributes may have other values on the remote platform. LoggerContextVO class exposes the minimal and relevant attributes to the remote host, instead of having to deal with an incomplete LoggerContext with many null references.
Constructor and Description |
---|
LoggerContextVO(LoggerContext lc) |
LoggerContextVO(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> propertyMap,
long birthTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getBirthTime() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.String> |
getPropertyMap() |
int |
hashCode() |
java.lang.String |
toString() |
public LoggerContextVO(LoggerContext lc)
public LoggerContextVO(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> propertyMap, long birthTime)
public java.lang.String getName()
public java.util.Map<java.lang.String,java.lang.String> getPropertyMap()
public long getBirthTime()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved