Package org.hibernate.event.internal
Class AbstractVisitor
- java.lang.Object
-
- org.hibernate.event.internal.AbstractVisitor
-
- Direct Known Subclasses:
DirtyCollectionSearchVisitor
,EvictVisitor
,FlushVisitor
,ProxyVisitor
public abstract class AbstractVisitor extends Object
Abstract superclass of algorithms that walk a tree of property values of an entity, and perform specific functionality for collections, components and associated entities.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventSource
getSession()
void
process(Object object, EntityPersister persister)
Walk the tree starting from the given entity.void
processEntityPropertyValues(Object[] values, Type[] types)
Dispatch each property value to processValue().
-
-
-
Method Detail
-
processEntityPropertyValues
public void processEntityPropertyValues(Object[] values, Type[] types) throws HibernateException
Dispatch each property value to processValue().- Throws:
HibernateException
-
process
public void process(Object object, EntityPersister persister) throws HibernateException
Walk the tree starting from the given entity.- Throws:
HibernateException
-
getSession
protected final EventSource getSession()
-
-