public interface Disposable
Disposable
is a lifecycle interface that gets called at the dispose lifecycle stage of the implementing service as
the service is being destroyed.Modifier and Type | Field and Description |
---|---|
static String |
PHASE_NAME |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
static final String PHASE_NAME
Copyright © 2018. All rights reserved.