org.ow2.easybeans.examples.pool
Class PoolAnnotationBean
java.lang.Object
org.ow2.easybeans.examples.pool.AbsBean
org.ow2.easybeans.examples.pool.AbsSessionBean
org.ow2.easybeans.examples.pool.PoolAnnotationBean
- All Implemented Interfaces:
- BusinessInterface
public class PoolAnnotationBean
- extends AbsSessionBean
Pool of this bean is defined with an annotation.
- Author:
- Florent BENOIT
Field Summary |
static int |
MAX_SIZE
Maximum size to use for the pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_SIZE
public static final int MAX_SIZE
- Maximum size to use for the pool.
- See Also:
- Constant Field Values
PoolAnnotationBean
public PoolAnnotationBean()
- Constructor.
getInstances
public int getInstances()
- Specified by:
getInstances
in interface BusinessInterface
- Specified by:
getInstances
in class AbsBean
- Returns:
- the number of instances built.
Copyright © 2006-2011 OW2 Consortium. All Rights Reserved.