public interface StatefulServiceInterface extends ServiceInterface
Modifier and Type | Method and Description |
---|---|
void |
activate()
Completely restore this service for active use from whatever
passivation it has implemented.
|
void |
close()
signals the end of the service lifecycle.
|
EventContext |
getCurrentEventContext()
Returns the current
EventContext for this instance. |
void |
passivate()
Perform whatever passivation is possible or throw an exception.
|
void passivate()
void activate()
void close()
EventContext getCurrentEventContext()
EventContext
for this instance. This is
useful for later identifying changes made by this Event
.