类 Cloneable
- java.lang.Object
-
- org.hibernate.internal.util.Cloneable
-
public class Cloneable extends Object
An object that is shallow-cloneable- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 Cloneable()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ObjectshallowCopy()Essentially performs a shallow copy of this SessionEventListenerConfig instance; meaning the SessionEventListenerConfig itself is cloned, but the individual listeners are not cloned.voidvalidate()Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).
-
-
-
方法详细资料
-
shallowCopy
public Object shallowCopy()
Essentially performs a shallow copy of this SessionEventListenerConfig instance; meaning the SessionEventListenerConfig itself is cloned, but the individual listeners are not cloned.- 返回:
- The SessionEventListenerConfig shallow copy.
-
validate
public void validate() throws HibernateExceptionChecks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).- 抛出:
HibernateException- If the SessionEventListenerConfig is not fully configured.
-
-