Class OnCloseBean<K,V extends BeanInstance<K>>

java.lang.Object
org.wildfly.clustering.ejb.cache.bean.OnCloseBean<K,V>
Type Parameters:
K - the bean identifier type
V - the bean instance type
All Implemented Interfaces:
AutoCloseable, Bean<K,V>, ImmutableBean<K,V>

public class OnCloseBean<K,V extends BeanInstance<K>> extends Object implements Bean<K,V>
A bean decorator that executes a given task on close.
Author:
Paul Ferraro