*/
@SuppressWarnings( "unchecked" )
public synchronized void initialize(final Configuration cfg) {
if ( !isInitialized ) {
String interpolatorString = cfg.getProperty( Environment.MESSAGE_INTERPOLATOR_CLASS );
MessageInterpolator interpolator = null;
if ( StringHelper.isNotEmpty( interpolatorString ) ) {
try {
Class interpolatorClass = ReflectHelper.classForName( interpolatorString );
interpolator = (MessageInterpolator) interpolatorClass.newInstance();
}