public class UserEvent extends org.springframework.context.ApplicationEvent
Modifier and Type | Class and Description |
---|---|
static class |
UserEvent.EventType
Type of the event.
|
Constructor and Description |
---|
UserEvent(java.lang.Class<?> source,
UserIdentity userId) |
UserEvent(java.lang.Class<?> source,
UserIdentity userId,
UserEvent.EventType type) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getSource() |
UserEvent.EventType |
getType() |
UserIdentity |
getUserId() |
public UserEvent(java.lang.Class<?> source, UserIdentity userId)
source
- class of the event creatoruserId
- public UserEvent(java.lang.Class<?> source, UserIdentity userId, UserEvent.EventType type)
source
- userId
- type
- public UserIdentity getUserId()
public UserEvent.EventType getType()
public java.lang.Class<?> getSource()
getSource
in class java.util.EventObject
Copyright © 2015 Tampere University of Technology, Pori Department.