1 //$Id: Configurable.java,v 1.1 2004/06/03 16:30:08 steveebersole Exp $2 package org.hibernate.id;3 4 import java.util.Properties ;5 6 import org.hibernate.MappingException;7 import org.hibernate.dialect.Dialect;8 import org.hibernate.type.Type;9 10 /**11 * An <tt>IdentifierGenerator</tt> that supports "configuration".12 *13 * @see IdentifierGenerator14 * @author Gavin King15 */16 public interface Configurable {17 18 /**19 * Configure this instance, given the value of parameters20 * specified by the user as <tt><param></tt> elements.21 * This method is called just once, following instantiation.22 *23 * @param params param values, keyed by parameter name24 */25 public void configure(Type type, Properties params, Dialect d) throws MappingException;26 27 }28