public interface LifecycleListener extends EventListener
| Modifier and Type | Method and Description |
|---|---|
int |
onLifecycleChange(Domain domain,
DomainEvent event)
This method gets called when a change in the lifecycle
of a domain occurs.
|
int onLifecycleChange(Domain domain, DomainEvent event)
domain - the domain on which the event occurredevent - contains information about the type of event
that occurred and details about that event