public abstract class AbstractLoggableComponent extends AbstractComponent
abstract base class for a component
that provides a
logger
.Ioc
Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
logger |
Constructor and Description |
---|
AbstractLoggableComponent()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected org.slf4j.Logger |
createLogger()
This method creates the
logger for this component. |
protected void |
doInitialize()
This method performs the actual
initialization . |
protected org.slf4j.Logger |
getLogger()
This method gets the
logger for this component. |
doInitialized, getInitializationState, initialize
private final org.slf4j.Logger logger
getLogger()
protected org.slf4j.Logger createLogger()
logger
for this component. Logger
for this class.protected org.slf4j.Logger getLogger()
logger
for this component. Logger
to be used by this component.protected void doInitialize()
initialization
. It is called when
AbstractComponent.initialize()
is invoked for the first time. super.AbstractComponent.doInitialize()
.doInitialize
in class AbstractComponent
Copyright © 2001–2014 mmm-Team. All rights reserved.