org.jboss.ejb.plugins
Class EntityInstancePool
java.lang.Object
|
+--org.jboss.ejb.plugins.AbstractInstancePool
|
+--org.jboss.ejb.plugins.EntityInstancePool
- All Implemented Interfaces:
- ContainerPlugin, InstancePool, Service, XmlLoadable
- public class EntityInstancePool
- extends AbstractInstancePool
- Version:
- $Revision: 1.9 $
- Author:
- Rickard Öberg (rickard.oberg@telkel.com), Marc Fleury
- See Also:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityInstancePool
public EntityInstancePool()
free
public void free(EnterpriseContext ctx)
- Return an instance to the free pool. Reset state
Called in 3 cases:
a) Done with finder method
b) Removed
c) Passivated
- Overrides:
free
in class AbstractInstancePool
- Parameters:
ctx
-
start
public void start()
throws java.lang.Exception
- Overrides:
start
in class AbstractInstancePool
create
protected EnterpriseContext create(java.lang.Object instance)
throws java.lang.Exception
- Overrides:
create
in class AbstractInstancePool
Copyright © 2000 The JBoss Organization. All Rights Reserved.