KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > event > AutoFlushEvent


1 ///$Id: AutoFlushEvent.java,v 1.5 2005/05/27 03:53:58 oneovthafew Exp $
2
package org.hibernate.event;
3
4 import java.util.Set JavaDoc;
5
6
7 /** Defines an event class for the auto-flushing of a session.
8  *
9  * @author Steve Ebersole
10  */

11 public class AutoFlushEvent extends FlushEvent {
12
13     private Set JavaDoc querySpaces;
14
15     public AutoFlushEvent(Set JavaDoc querySpaces, EventSource source) {
16         super(source);
17         this.querySpaces = querySpaces;
18     }
19
20     public Set JavaDoc getQuerySpaces() {
21         return querySpaces;
22     }
23
24     public void setQuerySpaces(Set JavaDoc querySpaces) {
25         this.querySpaces = querySpaces;
26     }
27 }
28
Popular Tags