org.hibernate.shards.criteria
Interface CriteriaEvent
- All Known Implementing Classes:
- CreateSubcriteriaEvent
public interface CriteriaEvent
Interface for events that can be laziliy applied to a
Criteria
. Useful because we don't allocate a
Criteria
until we actually need it, and programmers
might be calling a variety of methods against the
ShardedCriteria
which need to be applied to the actual Criteria
once
the actual Criteria
when it is allocated.
- Author:
- maxr@google.com (Max Ross)
Method Summary |
void |
onEvent(org.hibernate.Criteria crit)
Apply the event |
onEvent
void onEvent(org.hibernate.Criteria crit)
- Apply the event
- Parameters:
crit
- the Criteria to apply the event to