net.sf.mmm.util.nls.impl
Class ConfiguredNlsFormatterMap
java.lang.Object
net.sf.mmm.util.component.base.AbstractComponent
net.sf.mmm.util.component.base.AbstractLoggableComponent
net.sf.mmm.util.nls.base.NlsFormatterMap
net.sf.mmm.util.nls.impl.ConfiguredNlsFormatterMap
@Singleton
@Named
public class ConfiguredNlsFormatterMap
- extends NlsFormatterMap
This is a sub-class of NlsFormatterMap as a ready to use configurable
component. It contains all the defaults but can also be configured for your
custom needs.
- 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 |
formatters
private List<? extends NlsFormatterPlugin<?>> formatters
- See Also:
setFormatters(List)
ConfiguredNlsFormatterMap
public ConfiguredNlsFormatterMap()
- The constructor.
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 AbstractLoggableComponent
setFormatters
@Inject
public void setFormatters(List<? extends NlsFormatterPlugin<?>> formatters)
- This method allows to inject the
formatters to
register.
- Parameters:
formatters - is the List of formatters to set.
Copyright © 2001-2010 mmm-Team. All Rights Reserved.