com.theorem.radserver3
Interface LogImplFactory
- public interface LogImplFactory
This interface defines a factory for implementing logging.
Typically this will look like:
// Return the concrete Logging class.
//
class MakeLog implements LogImplFactory
{
public LogImpl createLogImpl()
{
// create an instance of PlainLogImpl
// This could be more exotic using a class loader.
return new PlainLogImpl();
}
}
class PlainLogImpl extends LogImpl
{
// Print the log entry
//
protected void write(String msg)
{
System.out.println(msg);
}
...
createLogImpl
public LogImpl createLogImpl()
- Creates a new LogImpl instance.
Submit a bug report or feature request
Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.