public interface DestructionCallback<T>
PreDestroy
for beans. It is also used to implement implicit garbage collection tasks,
such as the de-registering of listeners and resources associated with the bean.void destroy(T bean)
t
- the bean instance.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.