Package org.hibernate.util
Class Cloneable
java.lang.Object
org.hibernate.util.Cloneable
- Direct Known Subclasses:
EventListeners
An object that is shallow-coneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEssentially 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).
-
Constructor Details
-
Cloneable
public Cloneable()
-
-
Method Details
-
shallowCopy
Essentially performs a shallow copy of this SessionEventListenerConfig instance; meaning the SessionEventListenerConfig itself is cloned, but the individual listeners are not cloned.- Returns:
- The SessionEventListenerConfig shallow copy.
-
validate
Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).- Throws:
HibernateException- If the SessionEventListenerConfig is not fully configured.
-