A specialized parameters implementation for {@link BasicConfigurationBuilder}which allows for a convenient event listener initialization.
This class offers a fluent interface for registering event listeners. A fully initialized instance can be passed to the {@link BasicConfigurationBuilder#configure(BuilderParameters)} method. Allevent listeners which have been registered at the instance are then copied over to the configuration builder.
The code fragment below shows a typical usage scenario:
BasicConfigurationBuilder<Configuration> builder = new BasicConfigurationBuilder<Configuration>( PropertiesConfiguration.class) .configure(new EventListenerParameters().addEventListener( ConfigurationEvent.ANY, myListener));
In order to support a configuration builder's {@code configure()} method,this class implements the {@code BuilderParameters} interface. However, thisis just a dummy implementation; no parameters are propagated to the builder.
@version $Id: EventListenerParameters.java 1624601 2014-09-12 18:04:36Z oheger $
@since 2.0