org.jboss.ejb.plugins
Class StatelessSessionInstancePool

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.ejb.plugins.AbstractInstancePool
              extended byorg.jboss.ejb.plugins.StatelessSessionInstancePool
All Implemented Interfaces:
AbstractInstancePoolMBean, ContainerPlugin, InstancePool, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, XmlLoadable

public class StatelessSessionInstancePool
extends AbstractInstancePool

A stateless session bean instance pool.

Version:
$Revision: 1.13.2.2 $
Author:
Rickard Öberg, Andreas Schaefer, Sacha Labourey

Field Summary
 
Fields inherited from class org.jboss.ejb.plugins.AbstractInstancePool
container, currentIndex, maxSize, minSize, minSizeInitialized, overMax, overMin, pool, reclaim
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
StatelessSessionInstancePool()
           
 
Method Summary
protected  EnterpriseContext create(Object instance)
           
protected  void createService()
           
 
Methods inherited from class org.jboss.ejb.plugins.AbstractInstancePool
destroyService, discard, free, get, getContainer, getCurrentSize, getMaximumSize, getMaxSize, getMinimumSize, getStrictMaximumSize, getStrictTimeout, importXml, setContainer
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService
 
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

StatelessSessionInstancePool

public StatelessSessionInstancePool()
Method Detail

createService

protected void createService()
                      throws Exception
Throws:
Exception

create

protected EnterpriseContext create(Object instance)
                            throws Exception
Specified by:
create in class AbstractInstancePool
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.