org.objectweb.jorm.comp.generator.fos
Class FosBindingMOP
java.lang.Object
|
+--org.objectweb.jorm.comp.generator.fos.FosBindingMOP
- All Implemented Interfaces:
- Loggable, MOP
- public class FosBindingMOP
- 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
|
|
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 |
getSerObjectCast(PType type)
|
java.lang.String |
getSerRead(PType type)
|
java.lang.String |
getSerWrite(PType type)
|
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 |
logger
protected org.objectweb.util.monolog.api.Logger logger
loggerFactory
protected org.objectweb.util.monolog.api.LoggerFactory loggerFactory
FosBindingMOP
public FosBindingMOP()
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
getSerRead
public java.lang.String getSerRead(PType type)
throws java.lang.Exception
getSerWrite
public java.lang.String getSerWrite(PType type)
throws java.lang.Exception
getSerObjectCast
public java.lang.String getSerObjectCast(PType type)
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