org.jboss.ejb.plugins
public class: StatelessSessionInstancePool [javadoc |
source]
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.plugins.AbstractInstancePool
org.jboss.ejb.plugins.StatelessSessionInstancePool
All Implemented Interfaces:
XmlLoadable, AbstractInstancePoolMBean, InstancePool, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter
A stateless session bean instance pool.
- version:
< - tt>$Revision: 66439 $
- author:
< - a href="mailto:rickard.oberg@telkel.com">Rickard Oberg
- author:
< - a href="mailto:andreas.schaefer@madplanet.com">Andreas Schaefer
- author:
< - a href="mailto:sacha.labourey@cogito-info.ch">Sacha Labourey
| 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.StatelessSessionInstancePool Detail: |
protected EnterpriseContext create(Object instance) throws Exception {
return new StatelessSessionEnterpriseContext(instance, getContainer());
}
|
protected void createService() throws Exception {
super.createService();
// for SLSB, we *do* pool
this.reclaim = true;
}
|