JBoss Log Manager 1.2.0.GA

org.jboss.logmanager
Class SerializedLogger

java.lang.Object
  extended by 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

Constructor Summary
SerializedLogger(String name)
          Construct an instance.
 
Method Summary
 Object readResolve()
          Get the actual logger for this marker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializedLogger

public SerializedLogger(String name)
Construct an instance.

Parameters:
name - the logger name
Method Detail

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

JBoss Log Manager 1.2.0.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.