protected void destroyReadyStoreOnUndeploy() { if (readyStore == null) { return; } // destroy all EJB instances in readyStore synchronized ( readyStore ) { Iterator beans = readyStore.values(); while ( beans.hasNext() ) { EJBContextImpl ctx = (EJBContextImpl)beans.next(); transactionManager.componentDestroyed(ctx); } } readyStore.destroy(); readyStore = null; }
transactionManager.componentDestroyed(beanContext);
} finally { if (eventType == InstanceEvent.EventType.AFTER_DESTROY_EVENT) { tm.componentDestroyed(instance, inv); } else if (eventType == InstanceEvent.EventType.AFTER_FILTER_EVENT || eventType == InstanceEvent.EventType.AFTER_SERVICE_EVENT) { } catch (Exception ex) {} tm.componentDestroyed(instance, inv);
transactionManager.componentDestroyed(beanContext);
public void undeploy(SessionContextImpl ctx) { if (ctx.getContainer() == this) { if (hasRemoteHomeView) { EJBObjectImpl ejbObjectImpl = ctx.getEJBObjectImpl(); if (ejbObjectImpl != null) { remoteHomeRefFactory.destroyReference (ejbObjectImpl.getStub(), ejbObjectImpl.getEJBObject()); } } if (hasRemoteBusinessView) { EJBObjectImpl ejbBusinessObjectImpl = ctx.getEJBRemoteBusinessObjectImpl(); if (ejbBusinessObjectImpl != null) { for (RemoteBusinessIntfInfo next : remoteBusinessIntfInfo.values()) { next.referenceFactory.destroyReference (ejbBusinessObjectImpl.getStub (next.generatedRemoteIntf.getName()), ejbBusinessObjectImpl.getEJBObject (next.generatedRemoteIntf.getName())); } } } sessionBeanCache.remove(ctx.getInstanceKey(), ctx.existsInStore()); destroyExtendedEMsForContext(ctx); transactionManager.componentDestroyed(ctx); } }
public void undeploy(SessionContextImpl ctx) { if (ctx.getContainer() == this) { if (hasRemoteHomeView) { EJBObjectImpl ejbObjectImpl = ctx.getEJBObjectImpl(); if (ejbObjectImpl != null) { remoteHomeRefFactory.destroyReference (ejbObjectImpl.getStub(), ejbObjectImpl.getEJBObject()); } } if (hasRemoteBusinessView) { EJBObjectImpl ejbBusinessObjectImpl = ctx.getEJBRemoteBusinessObjectImpl(); if (ejbBusinessObjectImpl != null) { for (RemoteBusinessIntfInfo next : remoteBusinessIntfInfo.values()) { next.referenceFactory.destroyReference (ejbBusinessObjectImpl.getStub (next.generatedRemoteIntf.getName()), ejbBusinessObjectImpl.getEJBObject (next.generatedRemoteIntf.getName())); } } } sessionBeanCache.remove(ctx.getInstanceKey(), ctx.existsInStore()); destroyExtendedEMsForContext(ctx); transactionManager.componentDestroyed(ctx); } }
transactionManager.componentDestroyed(context); transactionManager.componentDestroyed(context);
transactionManager.componentDestroyed(sessionCtx);
transactionManager.componentDestroyed(sessionCtx);
containerInfo.appName, containerInfo.modName, containerInfo.ejbName, true); transactionManager.componentDestroyed(sc);
containerInfo.appName, containerInfo.modName, containerInfo.ejbName, true); transactionManager.componentDestroyed(sc);
transactionManager.componentDestroyed(sc);
transactionManager.componentDestroyed(sc);
transactionManager.componentDestroyed(ctx); return;