org.jboss.ejb3
Class AbstractPool

java.lang.Object
  extended by org.jboss.ejb3.AbstractPool
All Implemented Interfaces:
Pool
Direct Known Subclasses:
StrictMaxPool, ThreadlocalPool

public abstract class AbstractPool
extends Object
implements Pool

Comment

Version:
$Revision: 1.3.2.4 $
Author:
Bill Burke

Field Summary
protected  Class beanClass
           
protected  Container container
           
protected  Class contextClass
           
protected  Injector[] injectors
           
 
Constructor Summary
AbstractPool()
           
 
Method Summary
protected  BeanContext create()
           
protected  BeanContext create(Class[] initTypes, Object[] initValues)
           
 void initialize(Container container, Class contextClass, Class beanClass, int maxSize, long timeout)
           
 void remove(BeanContext ctx)
          Destroy bean.
 void setInjectors(Injector[] injectors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.Pool
get, get, release
 

Field Detail

beanClass

protected Class beanClass

contextClass

protected Class contextClass

injectors

protected Injector[] injectors

container

protected Container container
Constructor Detail

AbstractPool

public AbstractPool()
Method Detail

initialize

public void initialize(Container container,
                       Class contextClass,
                       Class beanClass,
                       int maxSize,
                       long timeout)
Specified by:
initialize in interface Pool

create

protected BeanContext create()

create

protected BeanContext create(Class[] initTypes,
                             Object[] initValues)

remove

public void remove(BeanContext ctx)
Description copied from interface: Pool
Destroy bean. ejbRemove callback is executed

Specified by:
remove in interface Pool

setInjectors

public void setInjectors(Injector[] injectors)
Specified by:
setInjectors in interface Pool


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