configurable.java
来自「用Java实现的23个常用设计模式源代码」· Java 代码 · 共 28 行
JAVA
28 行
//$Id: Configurable.java,v 1.4 2003/07/28 00:34:32 oneovthafew Exp $
package net.sf.hibernate.id;
import java.util.Properties;
import net.sf.hibernate.MappingException;
import net.sf.hibernate.dialect.Dialect;
import net.sf.hibernate.type.Type;
/**
* An <tt>IdentifierGenerator</tt> that supports "configuration".
*
* @see IdentifierGenerator
* @author Gavin King
*/
public interface Configurable {
/**
* Configure this instance, given the value of parameters
* specified by the user as <tt><param></tt> elements.
* This method is called just once, following instantiation.
*
* @param params param values, keyed by parameter name
*/
public void configure(Type type, Properties params, Dialect d) throws MappingException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?