net.sourceforge.domian.entity
Class AbstractLoggingUUIDEntity
java.lang.Object
net.sourceforge.domian.entity.AbstractEntity
net.sourceforge.domian.entity.AbstractUUIDEntity
net.sourceforge.domian.entity.AbstractLoggingUUIDEntity
- All Implemented Interfaces:
- Entity
public abstract class AbstractLoggingUUIDEntity
- extends AbstractUUIDEntity
A SLF4J logger instance is provided in this class.
It is lazily obtained through the getLogger()
method.
- Since:
- 0.4.1
- Author:
- Eirik Torske
- See Also:
- SLF4J (Simple Logging Facade for Java)
Field Summary |
private org.slf4j.Logger |
logger
|
Method Summary |
private org.slf4j.Logger |
createLogger()
|
protected void |
doWarnLog(java.lang.String message)
|
protected org.slf4j.Logger |
getLogger()
Lazy retrieval of the Logger member. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
logger
private transient volatile org.slf4j.Logger logger
AbstractLoggingUUIDEntity
public AbstractLoggingUUIDEntity()
createLogger
private org.slf4j.Logger createLogger()
getLogger
protected final org.slf4j.Logger getLogger()
- Lazy retrieval of the
Logger
member.
- Returns:
- the logger member for this entity
doWarnLog
protected final void doWarnLog(java.lang.String message)
- Overrides:
doWarnLog
in class AbstractEntity
Copyright © 2006-2010. All Rights Reserved.