/** * Remove the bean context and invoke any callbacks * and track the remove count * * @param bean */ protected void doRemove(T bean) { try { factory.destroy(bean); } finally { removeCount.incrementAndGet(); } } }
/** * Remove the bean context and invoke any callbacks * and track the remove count * * @param bean */ protected void doRemove(T bean) { try { factory.destroy(bean); } finally { removeCount.incrementAndGet(); } } }
public void releaseEntityBeanInstance(final EntityBeanComponentInstance instance) { if (pool != null) { pool.release(instance); } else { factory.destroy(instance); } }