类 Cloneable


  • public class Cloneable
    extends Object
    An object that is shallow-cloneable
    作者:
    Steve Ebersole
    • 构造器详细资料

      • Cloneable

        public Cloneable()
    • 方法详细资料

      • 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 HibernateException
        Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).
        抛出:
        HibernateException - If the SessionEventListenerConfig is not fully configured.