org.hibernate.shards.criteria
Class CreateSubcriteriaEvent
java.lang.Object
org.hibernate.shards.criteria.CreateSubcriteriaEvent
- All Implemented Interfaces:
- CriteriaEvent
public class CreateSubcriteriaEvent
- extends Object
- implements CriteriaEvent
Event that allows a Subcriteria to be lazily added to a Criteria.
- Author:
- maxr@google.com (Max Ross)
Method Summary |
void |
onEvent(org.hibernate.Criteria crit)
Apply the event |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSubcriteriaEvent
public CreateSubcriteriaEvent(SubcriteriaFactory subcriteriaFactory,
org.hibernate.shards.criteria.ShardedSubcriteriaImpl.SubcriteriaRegistrar subcriteriaRegistrar)
onEvent
public void onEvent(org.hibernate.Criteria crit)
- Description copied from interface:
CriteriaEvent
- Apply the event
- Specified by:
onEvent
in interface CriteriaEvent
- Parameters:
crit
- the Criteria to apply the event to