We have a new interface:

public interface ConfigurablePluginBuilder<T> {

    /**
     * Builds the plugin object after all configuration has been set. This
will use default values for any
     * unspecified attributes for the plugin.
     *
     * @return the configured plugin instance.
     */
    T build();
}

Which seems like it could be better named as Builder since all it does is
build().

This would make friendlier to reuse.

Gary

-- 
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to