org.jboss.logmanager
Class SerializedLogger
java.lang.Object
org.jboss.logmanager.SerializedLogger
- All Implemented Interfaces:
- Serializable
public final class SerializedLogger
- extends Object
- implements Serializable
A marker class for loggers. After read, the readResolve()
method will return a logger with the given name.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializedLogger
public SerializedLogger(String name)
- Construct an instance.
- Parameters:
name
- the logger name
readResolve
public Object readResolve()
throws ObjectStreamException
- Get the actual logger for this marker.
- Returns:
- the logger
- Throws:
ObjectStreamException
- (never)- See Also:
- Serialization spec, 3.7
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.