Package wt.locks
Class LockServiceEvent
java.lang.Object
wt.events.KeyedEvent
wt.locks.LockServiceEvent
- All Implemented Interfaces:
Serializable,wt.events.summary.SummarizedEvent
Provides an abstraction of an extended keyed event used in conjunction
with the standard implementation of the server-side functionality as
defined by the LockService interface. This event could also be used by
a custom implementation of the LockService.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA constant that defines an event marking the occurrance of a persistent lock that has completed.static final StringA constant that defines an event marking the occurrance of a persistent unlock that has completed.static final StringA constant that defines an event marking the occurrance of a persistent lock that is about to commense.static final StringA constant that defines an event marking the occurrance of a persistent unlock that is about to commense. -
Method Summary
Methods inherited from class wt.events.KeyedEvent
generateEventKey, getEventKey, getEventTarget, getEventType
-
Field Details
-
PRE_LOCK
A constant that defines an event marking the occurrance of a persistent lock that is about to commense. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
POST_LOCK
A constant that defines an event marking the occurrance of a persistent lock that has completed. Listener's of this event can perform post-processing related to the locking of an object, and can stipulate that postconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
PRE_UNLOCK
A constant that defines an event marking the occurrance of a persistent unlock that is about to commense. Listener's of this event can stipulate that preconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
POST_UNLOCK
A constant that defines an event marking the occurrance of a persistent unlock that has completed. Listener's of this event can perform post-processing related to the unlocking of an object, and can stipulate that postconditions have not been satisfied by means of throwing an exception which acts as a veto.
Supported API: true- See Also:
-
-
Method Details
-
getTarget
Gets the lockable object target of the event.
Supported API: true- Returns:
- Lockable
- See Also:
-
wt.locks.PRE_LOCKwt.locks.POST_LOCKwt.locks.PRE_UNLOCKwt.locks.POST_UNLOCK
-