|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jorm.mapper.fos.generator.FosMappingMOP
Field Summary | |
protected Logger |
logger
|
protected LoggerFactory |
loggerFactory
|
Constructor Summary | |
FosMappingMOP()
|
Method Summary | |
java.lang.String |
getDirName(FosClassMapping m,
java.lang.String cn)
|
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. |
java.lang.String[] |
getTemplateLibraries()
|
void |
initContext(Context ctx)
Initializes a velocity context |
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 Logger logger
protected LoggerFactory loggerFactory
Constructor Detail |
public FosMappingMOP()
Method Detail |
public void initContext(Context ctx)
MOP
initContext
in interface MOP
ctx
- is the context to initializepublic java.lang.String[] getTemplateLibraries()
getTemplateLibraries
in interface MOP
public java.lang.String getDirName(FosClassMapping m, java.lang.String cn)
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 |