code: public static NlsMessageFactory getFactory() {
  
      if (factory == null) {
        synchronized (NlsAccess.class) {
          if (factory == null) {
            NlsMessageFactoryImpl factoryImpl = new NlsMessageFactoryImpl();
            factoryImpl.initialize();
            factory = factoryImpl;
          }
        }
      }
      return factory;
    }
docs: This method gets the {@link NlsMessageFactory} used to create instances of
  {@link net.sf.mmm.util.nls.api.NlsMessage}.
  
  @return the factory instance.