当前页面:
在线文档首页 >
JBoss 3.2.7 server API Documentation 英文版文档
EntityInstancePool (JBoss Server API) - JBoss 3.2.7 server API Documentation 英文版文档
org.jboss.ejb.plugins
Class EntityInstancePool
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.plugins.AbstractInstancePool
org.jboss.ejb.plugins.EntityInstancePool
- 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 EntityInstancePool
- extends AbstractInstancePool
An entity bean instance pool.
- Version:
- $Revision: 1.21.2.3 $
- Author:
- Rickard 脰berg, Marc Fleury, Andreas Schaefer, Sacha Labourey
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 |
Methods inherited from class org.jboss.ejb.plugins.AbstractInstancePool |
destroyService, discard, get, getContainer, getCurrentSize, getMaximumSize, getMaxSize, getMinimumSize, getStrictMaximumSize, getStrictTimeout, importXml, setContainer |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, 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 |
EntityInstancePool
public EntityInstancePool()
free
public void free(EnterpriseContext ctx)
- Return an instance to the free pool. Reset state
Called in 3 cases:
- Done with finder method
- Removed
- Passivated
- Specified by:
free
in interface InstancePool
- Overrides:
free
in class AbstractInstancePool
- Parameters:
ctx
-
create
protected EnterpriseContext create(Object instance)
throws Exception
- Specified by:
create
in class AbstractInstancePool
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.