Package wt.services
Class ServiceEventListenerAdapter
java.lang.Object
wt.services.ServiceEventListenerAdapter
- All Implemented Interfaces:
KeyedEventListener
- Direct Known Subclasses:
ChangeStatusEventHandler
An implementation of KeyedEventListener used by services to handle service
events. This adapter adds an operation called logNotification which
writes event information to the log. This class also provides default
notification methods which log the notifications when wt.services.VERBOSE_EVENTS
is set to true. Subclasses may override the notification methods but
should honor the logging contract when wt.services.VERBOSE_EVENTS is
true.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Constructor Summary
ConstructorsConstructorDescriptionServiceEventListenerAdapter(String serviceId) Construct ServiceEventListenerAdapter with service id. -
Method Summary
-
Constructor Details
-
ServiceEventListenerAdapter
Construct ServiceEventListenerAdapter with service id.
Supported API: true- Parameters:
serviceId- String used for identifying the service
-