org.objectweb.perseus.fos.api
Interface FosLoggerFactory
- FosManager
- FosTxContextFactory
public interface FosLoggerFactory
Defines the way to retrieve the logger associated to the different kinds of
FOS entities that are traced.
- S. Chassande-Barrioz, P. D???chamboux
static byte | CONNECTION - For Connection entities associated to the FOS.
|
static boolean | DEBUG - For removing all DEBUG traces from the FOS adapter code,
set it to false!!
|
static byte | MANAGEDCONNECTION - For ManagedConnection entities associated to the FOS.
|
static byte | TXCONTEXT - For TxContext entities associated to the FOS.
|
static byte | XARESOURCE - For XAResource entities associated to the FOS.
|
Logger | getLogger(byte entity, boolean factory) - Gives access to the logger associated to a given kind of entities managed
by this FOS adapter, which are further classified into factories or
non-factories.
|
void | setMonologFactory(MonologFactory mf)
|
CONNECTION
public static final byte CONNECTION
For Connection entities associated to the FOS.
- 1
DEBUG
public static final boolean DEBUG
For removing all DEBUG traces from the FOS adapter code,
set it to false!!
- true
MANAGEDCONNECTION
public static final byte MANAGEDCONNECTION
For ManagedConnection entities associated to the FOS.
- 2
TXCONTEXT
public static final byte TXCONTEXT
For TxContext entities associated to the FOS.
- 8
XARESOURCE
public static final byte XARESOURCE
For XAResource entities associated to the FOS.
- 4
getLogger
public Logger getLogger(byte entity,
boolean factory)
Gives access to the logger associated to a given kind of entities managed
by this FOS adapter, which are further classified into factories or
non-factories.
entity
- The kind of entity (see CONNECTION, MANAGEDCONNECTION,
XARESOURCE and TXCONTEXT constants defined above).factory
- Specifies if the concerned entity is a factory.
- The relevant logger.
setMonologFactory
public void setMonologFactory(MonologFactory mf)
Copyright © 2000-2002 France Telecom S.A., INRIA, IMAG-LSR All Rights Reserved.