public abstract class AbstractNlsMessageFactoryImpl extends AbstractNlsMessageFactory
NlsMessageFactory
.CDI_NAME
Constructor and Description |
---|
AbstractNlsMessageFactoryImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NlsMessage |
create(NlsTemplate template,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
NlsMessage |
create(String internationalizedMessage,
Map<String,Object> messageArguments)
This method creates a new instance of
NlsMessage from the given arguments. |
protected void |
doInitialize()
This method performs the actual
initialization . |
protected void |
doInitialized()
This method is invoked at the end of the actual
initialization . |
create, create, create, create, create, create, create, create, create, create, create, create, createDirect
createLogger, getLogger
getInitializationState, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDirect
public AbstractNlsMessageFactoryImpl()
public NlsMessage create(NlsTemplate template, Map<String,Object> messageArguments)
NlsMessage
from the given arguments.template
- is the NlsTemplate
for the raw
message
.messageArguments
- are the arguments
filled into the message
after nationalization.NlsMessage
instance.public NlsMessage create(String internationalizedMessage, Map<String,Object> messageArguments)
NlsMessage
from the given arguments.internationalizedMessage
- is the internationalized
message
.messageArguments
- are the arguments
filled into the message
after nationalization.NlsMessage
instance.protected void doInitialize()
initialization
. It is called when
AbstractComponent.initialize()
is invoked for the first time. super.AbstractComponent.doInitialize()
.doInitialize
in class AbstractLoggableComponent
protected void doInitialized()
initialization
. It is called when
AbstractComponent.initialize()
is invoked for the first time after AbstractComponent.doInitialize()
is completed and
initialization-state
has changed to
initialized
. super.AbstractComponent.doInitialized()
.doInitialized
in class AbstractComponent
Copyright © 2001–2014 mmm-Team. All rights reserved.