public void init() { configFactory = new DefaultConfigDataHandlerFactory(); Map<String, String> config = new HashMap<String, String>(); config.put("group", DruidConstants.DEFAULT_DIAMOND_GROUP); passwdHandler = configFactory.getConfigDataHandlerWithListenerListCE( passwdConfDataId, passwdConfListener, Executors.newSingleThreadScheduledExecutor(), config); }