org.objectweb.jorm.comp.generator.fos
Class FosMappingMOP

java.lang.Object
  |
  +--org.objectweb.jorm.comp.generator.fos.FosMappingMOP
All Implemented Interfaces:
Loggable, MOP

public class FosMappingMOP
extends java.lang.Object
implements MOP, Loggable

Author:
P. D?chamboux

Field Summary
protected  org.objectweb.util.monolog.api.Logger logger
           
protected  org.objectweb.util.monolog.api.LoggerFactory loggerFactory
           
 
Constructor Summary
FosMappingMOP()
           
 
Method Summary
 org.objectweb.util.monolog.api.Logger getLogger()
          Returns a logger to an component that wants to log things.
 org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
          Returns a logger factory that allows the creation of new loggers.
 java.lang.String[] getTemplateLibraries()
           
 void initContext(org.apache.velocity.context.Context ctx)
           
 void setLogger(org.objectweb.util.monolog.api.Logger l)
          Assigns a logger to an component that wants to log things.
 void setLoggerFactory(org.objectweb.util.monolog.api.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

logger

protected org.objectweb.util.monolog.api.Logger logger

loggerFactory

protected org.objectweb.util.monolog.api.LoggerFactory loggerFactory
Constructor Detail

FosMappingMOP

public FosMappingMOP()
Method Detail

initContext

public void initContext(org.apache.velocity.context.Context ctx)
Specified by:
initContext in interface MOP

getTemplateLibraries

public java.lang.String[] getTemplateLibraries()
Specified by:
getTemplateLibraries in interface MOP

getLogger

public org.objectweb.util.monolog.api.Logger getLogger()
Description copied from interface: Loggable
Returns a logger to an component that wants to log things.
Specified by:
getLogger in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
logger - the logger object

getLoggerFactory

public org.objectweb.util.monolog.api.LoggerFactory getLoggerFactory()
Description copied from interface: Loggable
Returns a logger factory that allows the creation of new loggers.
Specified by:
getLoggerFactory in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
loggerfactory - the LoggerFactory object to obtain new loggers

setLogger

public void setLogger(org.objectweb.util.monolog.api.Logger l)
Description copied from interface: Loggable
Assigns a logger to an component that wants to log things.
Specified by:
setLogger in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
logger - the logger object

setLoggerFactory

public void setLoggerFactory(org.objectweb.util.monolog.api.LoggerFactory lf)
Description copied from interface: Loggable
Assigns a logger factory that allows the creation of new loggers.
Specified by:
setLoggerFactory in interface Loggable
Following copied from interface: org.objectweb.jorm.util.api.Loggable
Parameters:
loggerfactory - the LoggerFactory object to obtain new loggers