public class ServiceEvent extends Object
Encapsulates the state needed for a ServiceListener to act
when a service event occurs.
A service event has a string identifier that uniquely identifies
the event in question. Examples: CreateUser,
RemoveContent.
The state of a service event is provided as an array of
Objects. This allows each individual service method to
provide whatever objects are required for listeners to handle the
service event without causing a proliferation of event subclasses.
| Constructor and Description |
|---|
ServiceEvent(String id) |
ServiceEvent(String id,
Object... state) |
Copyright © 2012–2018 1&1. All rights reserved.