public class NlsMessageFormatterFactoryImpl extends AbstractComponent implements NlsMessageFormatterFactory
NlsMessageFormatterFactory
.Modifier and Type | Field and Description |
---|---|
private NlsDependencies |
dependencies |
Constructor and Description |
---|
NlsMessageFormatterFactoryImpl()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NlsMessageFormatter |
create(String message)
This method creates a new
NlsMessageFormatter for the given message . |
protected void |
doInitialize()
This method performs the actual
initialization . |
protected NlsDependencies |
getDependencies() |
void |
setDependencies(NlsDependencies nlsDependencies) |
doInitialized, getInitializationState, initialize
private NlsDependencies dependencies
public NlsMessageFormatterFactoryImpl()
public NlsMessageFormatter create(String message)
NlsMessageFormatterFactory
NlsMessageFormatter
for the given message
. message
is described in NlsMessage
.create
in interface NlsMessageFormatterFactory
message
- is the template for the message where potential
arguments will be filled in
.NlsMessageFormatter
for the given message
.protected NlsDependencies getDependencies()
NlsDependencies
.@Inject public void setDependencies(NlsDependencies nlsDependencies)
nlsDependencies
- is the nlsDependencies to setprotected void doInitialize()
AbstractComponent
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class AbstractComponent
Copyright © 2001–2016 mmm-Team. All rights reserved.