net.sf.mmm.util.nls.impl
Class NlsDependenciesImpl

java.lang.Object
  extended by net.sf.mmm.util.component.base.AbstractComponent
      extended by net.sf.mmm.util.nls.impl.NlsDependenciesImpl
All Implemented Interfaces:
NlsDependencies

@Singleton
@Named
public class NlsDependenciesImpl
extends AbstractComponent
implements NlsDependencies

This is the implementation of the NlsDependencies interface.

Since:
2.0.0
Author:
Joerg Hohwiller (hohwille at users.sourceforge.net)

Field Summary
private  NlsArgumentFormatter argumentFormatter
           
private  NlsArgumentParser argumentParser
           
private  Iso8601Util iso8601Util
           
private  NlsMessageFormatterFactory messageFormatterFactory
           
 
Constructor Summary
NlsDependenciesImpl()
          The constructor.
 
Method Summary
protected  void doInitialize()
          This method performs the actual initialization.
 NlsArgumentFormatter getArgumentFormatter()
          This method gets the NlsArgumentFormatter.
 NlsArgumentParser getArgumentParser()
          This method gets the NlsArgumentParser.
 Iso8601Util getIso8601Util()
          This method gets the Iso8601Util.
 NlsMessageFormatterFactory getMessageFormatterFactory()
          This method gets the NlsMessageFormatterFactory.
 void setArgumentFormatter(NlsArgumentFormatter argumentFormatter)
           
 void setArgumentParser(NlsArgumentParser argumentParser)
           
 void setIso8601Util(Iso8601Util iso8601Util)
           
 void setMessageFormatterFactory(NlsMessageFormatterFactory messageFormatterFactory)
           
 
Methods inherited from class net.sf.mmm.util.component.base.AbstractComponent
doInitialized, getInitializationState, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

argumentParser

private NlsArgumentParser argumentParser
See Also:
getArgumentParser()

argumentFormatter

private NlsArgumentFormatter argumentFormatter
See Also:
getArgumentFormatter()

messageFormatterFactory

private NlsMessageFormatterFactory messageFormatterFactory
See Also:
getMessageFormatterFactory()

iso8601Util

private Iso8601Util iso8601Util
See Also:
getIso8601Util()
Constructor Detail

NlsDependenciesImpl

public NlsDependenciesImpl()
The constructor.

Method Detail

getArgumentParser

public NlsArgumentParser getArgumentParser()
This method gets the NlsArgumentParser.

Specified by:
getArgumentParser in interface NlsDependencies
Returns:
the NlsArgumentParser.

setArgumentParser

@Inject
public void setArgumentParser(NlsArgumentParser argumentParser)
Parameters:
argumentParser - is the argumentParser to set

getArgumentFormatter

public NlsArgumentFormatter getArgumentFormatter()
This method gets the NlsArgumentFormatter.

Specified by:
getArgumentFormatter in interface NlsDependencies
Returns:
the NlsArgumentFormatter.

setArgumentFormatter

@Inject
public void setArgumentFormatter(NlsArgumentFormatter argumentFormatter)
Parameters:
argumentFormatter - is the argumentFormatter to set

getMessageFormatterFactory

public NlsMessageFormatterFactory getMessageFormatterFactory()
This method gets the NlsMessageFormatterFactory.

Specified by:
getMessageFormatterFactory in interface NlsDependencies
Returns:
the NlsMessageFormatterFactory.

setMessageFormatterFactory

@Inject
public void setMessageFormatterFactory(NlsMessageFormatterFactory messageFormatterFactory)
Parameters:
messageFormatterFactory - is the messageFormatterFactory to set

getIso8601Util

public Iso8601Util getIso8601Util()
This method gets the Iso8601Util.

Specified by:
getIso8601Util in interface NlsDependencies
Returns:
the Iso8601Util.

setIso8601Util

@Inject
public void setIso8601Util(Iso8601Util iso8601Util)
Parameters:
iso8601Util - is the iso8601Util 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.