Class MessageFormatterFactory
- java.lang.Object
-
- de.uni_trier.wi2.procake.utils.multilanguage.MessageFormatterFactory
-
- All Implemented Interfaces:
Factory
public class MessageFormatterFactory extends Object implements Factory
The MessageFormatterFactory contains the defaultMessageFormatter.- Author:
- Rainer Maximini
- See Also:
Factory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanbind(MessageFormatterFactoryObject implementation)booleanbind(Object implementation)Bind an implementation to the factory.static MessageFormattergetMessageFormater()voidreset()This method has to be implemented by every factory in order to allow a proper restart of ProCAKE.static booleanunbind(MessageFormatterFactoryObject implementation)booleanunbind(Object implementation)Unbinds an implementation from the factory.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.uni_trier.wi2.procake.utils.composition.Factory
addParameter, postInit
-
-
-
-
Method Detail
-
bind
public static boolean bind(MessageFormatterFactoryObject implementation)
-
getMessageFormater
public static MessageFormatter getMessageFormater()
-
unbind
public static boolean unbind(MessageFormatterFactoryObject implementation)
-
reset
public void reset()
Description copied from interface:FactoryThis method has to be implemented by every factory in order to allow a proper restart of ProCAKE. For example, this method might reset the default factory object or other stateful variables.
-
bind
public boolean bind(Object implementation)
Description copied from interface:FactoryBind an implementation to the factory.- Specified by:
bindin interfaceFactory- Parameters:
implementation-- Returns:
trueif the factory accept the implementation, otherwisefalse.- See Also:
Factory.bind(java.lang.Object)
-
unbind
public boolean unbind(Object implementation)
Description copied from interface:FactoryUnbinds an implementation from the factory.- Specified by:
unbindin interfaceFactory- Parameters:
implementation-- Returns:
trueif the factory accept the implementation, otherwisefalse.- See Also:
Factory.unbind(java.lang.Object)
-
-