KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > id > Configurable


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 JavaDoc;
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 IdentifierGenerator
14  * @author Gavin King
15  */

16 public interface Configurable {
17
18     /**
19      * Configure this instance, given the value of parameters
20      * specified by the user as <tt>&lt;param&gt;</tt> elements.
21      * This method is called just once, following instantiation.
22      *
23      * @param params param values, keyed by parameter name
24      */

25     public void configure(Type type, Properties JavaDoc params, Dialect d) throws MappingException;
26
27 }
28
Popular Tags