org.jboss.ejb.plugins
public class: StatefulSessionInstancePool [javadoc |
source]
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.plugins.AbstractInstancePool
org.jboss.ejb.plugins.StatefulSessionInstancePool
All Implemented Interfaces:
XmlLoadable, AbstractInstancePoolMBean, InstancePool, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter
A stateful session bean instance pool.
- version:
< - tt>$Revision: 37459 $
- author:
< - a href="mailto:marc.fleury@telkel.com">Marc Fleury
- author:
< - a href="mailto:andreas.schaefer@madplanet.com">Andreas Schaefer
| Method from org.jboss.ejb.plugins.StatefulSessionInstancePool Summary: |
|---|
|
create, free |
| Methods from org.jboss.ejb.plugins.AbstractInstancePool: |
|---|
|
clear, create, destroyService, discard, free, get, getAvailableCount, getContainer, getCurrentSize, getMaxSize, importXml, setContainer |
| Methods from org.jboss.system.ServiceMBeanSupport: |
|---|
|
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
| Method from org.jboss.ejb.plugins.StatefulSessionInstancePool Detail: |
protected EnterpriseContext create(Object instance) throws Exception {
// The instance is created by the caller and is a newInstance();
return new StatefulSessionEnterpriseContext(instance, getContainer());
}
|
public synchronized void free(EnterpriseContext ctx) {
discard(ctx);
}
|