org.objectweb.jonas.container.EntityBean Class Reference

Inherits org.objectweb.jonas.container.EJB.

Inheritance diagram for org.objectweb.jonas.container.EntityBean:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.container.EntityBean:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getPersistency ()
int getPassivationTimeOut ()
void setPassivationTimeOut (int timeOut)
int getInactivityTimeOut ()
boolean getShared ()
int getMinPoolSize ()
int getMaxCacheSize ()
int getPoolSize ()
String getLockPolicy ()
int getCacheSize ()
Integer[] getEntityCounters ()
void synchronize ()
void reduceCache ()

Detailed Description

This class implements the EntityBean type specified in JSR77
Author:
Adriana Danes

Definition at line 37 of file EntityBean.java.


Member Function Documentation

int org.objectweb.jonas.container.EntityBean.getCacheSize  ) 
 

Returns:
Cache Size value

Definition at line 144 of file EntityBean.java.

Integer [] org.objectweb.jonas.container.EntityBean.getEntityCounters  ) 
 

Instance Counters (inTx, outTx, idle, passive, removed)

Returns:
table of int values for Entity counters

Definition at line 152 of file EntityBean.java.

References org.objectweb.jonas_ejb.container.EntityCounters.idle, org.objectweb.jonas_ejb.container.EntityCounters.inTx, org.objectweb.jonas_ejb.container.EntityCounters.outTx, org.objectweb.jonas_ejb.container.EntityCounters.passive, and org.objectweb.jonas_ejb.container.EntityCounters.removed.

int org.objectweb.jonas.container.EntityBean.getInactivityTimeOut  ) 
 

get inactivity time out

Returns:
inactivity timeout in seconds

Definition at line 80 of file EntityBean.java.

String org.objectweb.jonas.container.EntityBean.getLockPolicy  ) 
 

Returns:
EJB Container lock policy

Definition at line 115 of file EntityBean.java.

int org.objectweb.jonas.container.EntityBean.getMaxCacheSize  ) 
 

Returns:
max-cache-size value

Definition at line 101 of file EntityBean.java.

int org.objectweb.jonas.container.EntityBean.getMinPoolSize  ) 
 

Returns:
min-pool-size value

Definition at line 94 of file EntityBean.java.

int org.objectweb.jonas.container.EntityBean.getPassivationTimeOut  ) 
 

get passivation time out

Returns:
passivation timeout in seconds

Definition at line 64 of file EntityBean.java.

References org.objectweb.jonas_ejb.container.JFactory.getContainer(), and org.objectweb.jonas_ejb.container.JContainer.getSwapTime().

Here is the call graph for this function:

String org.objectweb.jonas.container.EntityBean.getPersistency  ) 
 

get persistency type

Definition at line 56 of file EntityBean.java.

int org.objectweb.jonas.container.EntityBean.getPoolSize  ) 
 

Returns:
pool-size value

Definition at line 108 of file EntityBean.java.

boolean org.objectweb.jonas.container.EntityBean.getShared  ) 
 

Returns:
true if bean is shared

Definition at line 87 of file EntityBean.java.

void org.objectweb.jonas.container.EntityBean.reduceCache  ) 
 

Reduce number of instances in memory

Definition at line 173 of file EntityBean.java.

void org.objectweb.jonas.container.EntityBean.setPassivationTimeOut int  timeOut  ) 
 

set passivation time out

Parameters:
timeOut passivation timeout in seconds

Definition at line 72 of file EntityBean.java.

References org.objectweb.jonas_ejb.container.JFactory.getContainer(), and org.objectweb.jonas_ejb.container.JContainer.setSwapTime().

Here is the call graph for this function:

void org.objectweb.jonas.container.EntityBean.synchronize  ) 
 

Synchronize bean state for all its instances outside transactions

Definition at line 166 of file EntityBean.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:06:34 2005 for JOnAS by  doxygen 1.3.9.1