Package org.eclipse.sisu
Annotation Type PreDestroy
The PreDestroy annotation is used on methods as a callback notification to
signal that the instance is in the process of being removed by the
container. The method annotated with PreDestroy is typically used to
release resources that it has been holding.
This annotation is Sisu specific annotation, that has same semantics as
PreDestroy
annotation has, and may be used
interchangeably.
To use annotation LifecycleModule
needs to be
installed.
- Since:
- 0.9.0.M2