org.ow2.easybeans.examples.pool
Class PoolXMLBean

java.lang.Object
  extended by org.ow2.easybeans.examples.pool.AbsBean
      extended by org.ow2.easybeans.examples.pool.AbsSessionBean
          extended by org.ow2.easybeans.examples.pool.PoolXMLBean
All Implemented Interfaces:
BusinessInterface

public class PoolXMLBean
extends AbsSessionBean

The pool of this bean will be defined through an XML file.

Author:
Florent BENOIT

Field Summary
 
Fields inherited from interface org.ow2.easybeans.examples.pool.BusinessInterface
MAX_INSTANCE_ANNOTATION, MAX_INSTANCE_XML
 
Constructor Summary
PoolXMLBean()
          Constructor.
 
Method Summary
 int getInstances()
           
 
Methods inherited from class org.ow2.easybeans.examples.pool.AbsBean
dummyWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.easybeans.examples.pool.BusinessInterface
dummyWork
 

Constructor Detail

PoolXMLBean

public PoolXMLBean()
Constructor.

Method Detail

getInstances

public int getInstances()
Specified by:
getInstances in interface BusinessInterface
Specified by:
getInstances in class AbsBean
Returns:
the number of instances built.


Copyright © 2006-2009 OW2 Consortium. All Rights Reserved.