|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.mapper.fos.metainfo.FosMappingFactory
Field Summary | |
protected Logger |
logger
|
protected LoggerFactory |
loggerFactory
|
Constructor Summary | |
FosMappingFactory()
|
Method Summary | |
Mapping |
createMapping(java.lang.String mapperName,
MetaObject parent)
Creates a new BasicFosMapping object. |
MappingPrinter |
createMappingPrinter()
|
Logger |
getLogger()
Returns a logger to an component that wants to log things. |
LoggerFactory |
getLoggerFactory()
Returns a logger factory that allows the creation of new loggers. |
void |
setLogger(Logger l)
Assigns a logger to an component that wants to log things. |
void |
setLoggerFactory(LoggerFactory lf)
Assigns a logger factory that allows the creation of new loggers. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient Logger logger
protected transient LoggerFactory loggerFactory
Constructor Detail |
public FosMappingFactory()
Method Detail |
public Mapping createMapping(java.lang.String mapperName, MetaObject parent)
createMapping
in interface MappingFactory
mapperName
- the name of the mapper,
parent the parent object.parent
- the parent MO of the mapping
public MappingPrinter createMappingPrinter()
createMappingPrinter
in interface MappingFactory
public Logger getLogger()
Loggable
getLogger
in interface Loggable
public LoggerFactory getLoggerFactory()
Loggable
getLoggerFactory
in interface Loggable
public void setLogger(Logger l)
Loggable
setLogger
in interface Loggable
l
- the logger objectpublic void setLoggerFactory(LoggerFactory lf)
Loggable
setLoggerFactory
in interface Loggable
lf
- the LoggerFactory object to obtain new loggers
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |