Top Description Fields Constructors Methods
org.jboss.logmanager

public final Class SerializedLogger

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable

A marker class for loggers. After read, the readResolve() method will return a logger with the given name.

Field Summary

Modifier and TypeField and Description
private final String
private static final long

Constructor Summary

AccessConstructor and Description
public
SerializedLogger(final String
the logger name
name
)

Construct an instance.

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the logger
readResolve
()

Get the actual logger for this marker.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

SerializedLoggerback to summary
public SerializedLogger(final String name)

Construct an instance.

Parameters
name:String

the logger name

Method Detail

readResolveback to summary
public Object readResolve()

Get the actual logger for this marker.

Returns:Object

the logger

See Also
Serialization spec, 3.7