public ServiceLifecycleObserver
Specifies that given interface CordaService
is interested to know about important milestones of Corda Node lifecycle and potentially react to them.
Subscription can be performed using AppServiceHub.register
method from a constructor of interface CordaService
.
Modifier and Type | Method and Description |
---|---|
void |
onServiceLifecycleEvent(ServiceLifecycleEvent event)
A handler for
enum ServiceLifecycleEvent s.
Default implementation does nothing. |
void onServiceLifecycleEvent(ServiceLifecycleEvent event)
A handler for enum ServiceLifecycleEvent
s.
Default implementation does nothing.
enum ServiceLifecycleEvent