001 /* 002 * Licensed to the Apache Software Foundation (ASF) under one or more 003 * contributor license agreements. See the NOTICE file distributed with 004 * this work for additional information regarding copyright ownership. 005 * The ASF licenses this file to You under the Apache License, Version 2.0 006 * (the "License"); you may not use this file except in compliance with 007 * the License. You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017 package org.apache.commons.configuration.event; 018 019 /** 020 * <p> 021 * A simple event listener interface for configuration observers. 022 * </p> 023 * <p> 024 * This interface can be implemented by classes that are interested in 025 * "raw" events caused by configuration objects. Each manipulation on 026 * a configuration object will generate such an event. There is only a single 027 * method that is invoked when an event occurs. 028 * </p> 029 * 030 * @author <a 031 * href="http://commons.apache.org/configuration/team-list.html">Commons 032 * Configuration team</a> 033 * @version $Id: ConfigurationListener.java 561230 2007-07-31 04:17:09Z rahul $ 034 * @since 1.3 035 */ 036 public interface ConfigurationListener 037 { 038 /** 039 * Notifies this listener about a manipulation on a monitored configuration 040 * object. 041 * 042 * @param event the event describing the manipulation 043 */ 044 void configurationChanged(ConfigurationEvent event); 045 }