jrun.ejb
Class EntityInstancePool

jrunx.kernel.ServiceAdapter
  |
  +--jrun.ejb.SimpleInstancePool
        |
        +--jrun.ejb.EntityInstancePool
All Implemented Interfaces:
InstancePool, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean

public class EntityInstancePool
extends SimpleInstancePool

This class extends SimpleInstancePool so that we call unsetEntityContext() at the right times.

Author:
Paul Reilly
See Also:
Serialized Form

Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
EntityInstancePool(EntityContainer entityContainer)
           
 
Method Summary
 void pool(Instance instance)
           
 
Methods inherited from class jrun.ejb.SimpleInstancePool
discard, get, getMaxSize, getMinSize, setMaxSize, setMinSize
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, destroy, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, init, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, start, stop, toString, unbind, unscheduleRunnable, updateStatus
 

Constructor Detail

EntityInstancePool

public EntityInstancePool(EntityContainer entityContainer)
Method Detail

pool

public void pool(Instance instance)
Overrides:
pool in class SimpleInstancePool
Following copied from interface: jrun.ejb.InstancePool
Parameters:
instance - the instance object to be pooled.


Copyright � 2002 Macromedia Corporation. All Rights Reserved.