|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.metainfo.lib.BasicMetaObject
Description
Field Summary | |
protected boolean |
debug
|
protected Logger |
logger
|
protected LoggerFactory |
loggerFactory
|
protected MetaObject |
parent
The parent of the current object. |
Constructor Summary | |
BasicMetaObject(MetaObject parent)
Builds a new BasicMetaObject object. |
Method Summary | |
protected java.util.Collection |
getChildren()
|
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. |
Manager |
getManager()
Returns the Manager object. |
MetaObject |
getParent()
Returns the parent MetaObject of the current MetaObject. |
void |
setLogger(Logger logger)
Assigns a logger to an component that wants to log things. |
void |
setLoggerFactory(LoggerFactory loggerfactory)
Assigns a logger factory that allows the creation of new loggers. |
void |
setLoggingOnChild(MetaObject mo)
|
void |
setParent(MetaObject parent)
Sets the parent of the current meta object if it is not yet done by the constructor of the meta object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MetaObject parent
protected transient Logger logger
protected transient LoggerFactory loggerFactory
protected transient boolean debug
Constructor Detail |
public BasicMetaObject(MetaObject parent)
parent
- the parent of the current objectMethod Detail |
protected java.util.Collection getChildren()
public void setLoggingOnChild(MetaObject mo)
public Logger getLogger()
Loggable
getLogger
in interface Loggable
public LoggerFactory getLoggerFactory()
Loggable
getLoggerFactory
in interface Loggable
public void setLogger(Logger logger)
Loggable
setLogger
in interface Loggable
logger
- the logger objectpublic void setLoggerFactory(LoggerFactory loggerfactory)
Loggable
setLoggerFactory
in interface Loggable
loggerfactory
- the LoggerFactory object to obtain new loggerspublic MetaObject getParent()
getParent
in interface MetaObject
public void setParent(MetaObject parent)
setParent
in interface MetaObject
parent
- the parent MetaObject of the current objectpublic Manager getManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |