Top Description Fields Constructors Methods
org.hibernate.internal.util

public Class Cloneable

extends Object
Class Inheritance
Imports
java.beans.BeanInfo, .IntrospectionException, .Introspector, .PropertyDescriptor, java.security.AccessController, .PrivilegedAction, org.hibernate.HibernateException

An object that is shallow-cloneable
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final Object[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private Object
private void
public Object

Returns:

The SessionEventListenerConfig shallow copy.
shallowCopy
()

Essentially performs a shallow copy of this SessionEventListenerConfig instance; meaning the SessionEventListenerConfig itself is cloned, but the individual listeners are not cloned.

public void
validate()

Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

READER_METHOD_ARGSback to summary
private static final Object[] READER_METHOD_ARGS

Constructor Detail

Cloneableback to summary
public Cloneable()

Method Detail

checkListenersback to summary
private void checkListeners()
copyListenersback to summary
private Object copyListeners()
internalCheckListenersback to summary
private void internalCheckListeners(BeanInfo beanInfo)
shallowCopyback to summary
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.

Returns:Object

The SessionEventListenerConfig shallow copy.

validateback to summary
public void validate() throws HibernateException

Checks to ensure the SessionEventListenerConfig is fully configured (basically, that none of the listeners is null).

Exceptions
HibernateException:
If the SessionEventListenerConfig is not fully configured.