Code example for PropertyChangeSupport

Methods: removePropertyChangeListener

0
        this.propertyChangeSupport.addPropertyChangeListener(propertyName, listener);
    } 
 
 
    public void removePropertyChangeListener(final PropertyChangeListener listener) {
        this.propertyChangeSupport.removePropertyChangeListener(listener);
    } 
 
 
    /** 
     * Reload configuration 
     */ 
    public void reload() { 
        try { 
            if (this.isConfigFileChanged(true)) {
                logger.info("Reloading configuration......"); 
//                Properties props = Utils.getResourceAsProperties(this.configPath, "GBK"); 
//                this.populateConfig(props); 
                File iniFile = Utils.getResourceAsFile(this.configPath);
                final Ini iniConfig = new Ini();