code: public static CommandProcessor getInstance() {
          if (null == instance) {
              synchronized (CommandProcessor.class) {
                  if (null == instance) {
                      instance = new CommandProcessor();
                  }
              }
          }
          return instance;
      }
docs: Gets the single instance of CommandProcessor.
  
  @return single instance of CommandProcessor