|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.service.ContextFactoryEvent
This class is the event class for all work manager events.
| Field Summary | |
(package private) java.lang.String |
message
The event message |
(package private) long |
time
Time of the event |
int |
TYPE_ACCESS_DENIED
Event type: New user added. |
int |
TYPE_CONTEXT_ADDED
Event type: New user added. |
int |
TYPE_CONTEXT_READ
Event type: New user added. |
int |
TYPE_CONTEXT_REMOVED
Event type: User cancelled. |
int |
TYPE_UNKNOWN
Event type: New user added. |
(package private) int |
user
The user who tried the access |
| Constructor Summary | |
ContextFactoryEvent(java.lang.String message,
int user,
short type)
Creates a new event. |
|
| Method Summary | |
java.lang.String |
getMessage()
Gets the events message. |
long |
getTime()
Gets the event time stamp in ms. |
int |
getUser()
Returns the user. |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public final int TYPE_UNKNOWN
public final int TYPE_CONTEXT_ADDED
public final int TYPE_CONTEXT_REMOVED
public final int TYPE_CONTEXT_READ
public final int TYPE_ACCESS_DENIED
long time
java.lang.String message
int user
| Constructor Detail |
public ContextFactoryEvent(java.lang.String message,
int user,
short type)
message - The event message string.tool - The tool's nameactivity - The activityuser - The user's idtype - The event type| Method Detail |
public long getTime()
public java.lang.String getMessage()
public int getUser()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||