org.ow2.easybeans.examples.pool
Interface BusinessInterface

All Known Implementing Classes:
AbsSessionBean, PoolAnnotationBean, PoolXMLBean

public interface BusinessInterface

Business interface.

Author:
Florent BENOIT

Field Summary
static int MAX_INSTANCE_ANNOTATION
          Max for Bean configured by annotation.
static int MAX_INSTANCE_XML
          Max for Bean configured by XML.
 
Method Summary
 void dummyWork()
          Do something that take some time.
 int getInstances()
           
 

Field Detail

MAX_INSTANCE_ANNOTATION

static final int MAX_INSTANCE_ANNOTATION
Max for Bean configured by annotation.

See Also:
Constant Field Values

MAX_INSTANCE_XML

static final int MAX_INSTANCE_XML
Max for Bean configured by XML.

See Also:
Constant Field Values
Method Detail

dummyWork

void dummyWork()
Do something that take some time.


getInstances

int getInstances()
Returns:
the number of instances built.


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