Package org.apache.shiro.event
Class Event
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.shiro.event.Event
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BeanEvent
public abstract class Event extends EventObject
Root class for all of Shiro's event classes. Provides access to the timestamp when the event occurred.- Since:
- 1.3
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimestamp()
Returns the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
Returns the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).- Returns:
- the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).
-
-