net.sf.mmm.util.nls.impl
Class NlsMessageFormatterFactoryImpl
java.lang.Object
net.sf.mmm.util.component.base.AbstractComponent
net.sf.mmm.util.nls.impl.NlsMessageFormatterFactoryImpl
- All Implemented Interfaces:
- NlsMessageFormatterFactory
@Singleton
@Named
public class NlsMessageFormatterFactoryImpl
- extends AbstractComponent
- implements NlsMessageFormatterFactory
This is the implementation of the NlsMessageFormatterFactory.
- Since:
- 2.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dependencies
private NlsDependencies dependencies
- See Also:
getDependencies()
NlsMessageFormatterFactoryImpl
public NlsMessageFormatterFactoryImpl()
- The constructor.
create
public NlsMessageFormatter create(String message)
- This method creates a new
NlsMessageFormatter for the given
message.
The format of the message is described in NlsMessage.
- Specified by:
create in interface NlsMessageFormatterFactory
- Parameters:
message - is the template for the message where potential
arguments will be filled in.
- Returns:
- the
NlsMessageFormatter for the given message.
getDependencies
protected NlsDependencies getDependencies()
- Returns:
- the
NlsDependencies.
setDependencies
@Inject
public void setDependencies(NlsDependencies nlsDependencies)
- Parameters:
nlsDependencies - is the nlsDependencies to set
doInitialize
protected void doInitialize()
- This method performs the actual
initialization. It is
called when AbstractComponent.initialize() is invoked for the first time.
ATTENTION:
When you override this method from a sub-class you need to do a
super.AbstractComponent.doInitialize().
- Overrides:
doInitialize in class AbstractComponent
Copyright © 2001-2010 mmm-Team. All Rights Reserved.