public abstract class AbstractQueryEvent extends org.springframework.context.ApplicationEvent
Base class for query events.
Constructor and description |
---|
AbstractQueryEvent(Query query) |
AbstractQueryEvent(java.lang.Object source, Query query) |
Type Params | Return Type | Name and description |
---|---|---|
|
public abstract QueryEventType |
getEventType()
|
|
public Query |
getQuery() Get the query from the event. |
Methods inherited from class | Name |
---|---|
class org.springframework.context.ApplicationEvent |
org.springframework.context.ApplicationEvent#getTimestamp(), org.springframework.context.ApplicationEvent#toString(), org.springframework.context.ApplicationEvent#getSource(), org.springframework.context.ApplicationEvent#wait(long, int), org.springframework.context.ApplicationEvent#wait(), org.springframework.context.ApplicationEvent#wait(long), org.springframework.context.ApplicationEvent#equals(java.lang.Object), org.springframework.context.ApplicationEvent#hashCode(), org.springframework.context.ApplicationEvent#getClass(), org.springframework.context.ApplicationEvent#notify(), org.springframework.context.ApplicationEvent#notifyAll() |
The query.
Get the query from the event.