org.objectweb.jonas_ejb.container.JEntityFactory Class Reference

Inherits org.objectweb.jonas_ejb.container.JFactory.

Inherited by org.objectweb.jonas_ejb.container.jorm.JormFactory.

Inheritance diagram for org.objectweb.jonas_ejb.container.JEntityFactory:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.container.JEntityFactory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 JEntityFactory ()
void init (EntityDesc dd, JContainer cont)
void initInstancePool ()
synchronized JEntitySwitch getEJB (Object pk)
synchronized JEntitySwitch existEJB (Object pk)
boolean rebindEJB (Transaction tx, JEntityContext bctx, Object pk)
synchronized void bindEJB (Object pk, JEntitySwitch bs)
JEntitySwitch getJEntitySwitch ()
synchronized void removeEJB (Object pk)
synchronized void registerEJB (JEntitySwitch ejb)
void synchronizeEntities ()
boolean dirtyInstances ()
int getInactivityTimeout ()
int getPoolSize ()
void stop ()
void sync ()
void reduceCache ()
JHome getHome ()
JLocalHome getLocalHome ()
JEntityContext getJContext (JEntitySwitch es)
void releaseJContext (JContext ctx)
TimerService getTimerService ()
int getMinPoolSize ()
int getMaxCacheSize ()
int getCacheSize ()
boolean isReentrant ()
boolean isShared ()
int lockPolicy ()
boolean isPrefetch ()
Object getDataSource ()
void checkTransaction (RequestCtx rctx)
void syncForFind (Transaction tx)
boolean isBlocking (Transaction tx)
boolean isBlocked (Transaction tx)
void removeTxListener (Transaction tx)
boolean registerContext (Transaction tx, JEntityContext ec) throws IllegalStateException
synchronized EntityCounters getEntityCounters ()
int calculateAutomaticPk ()
void dummyFinderException (boolean dummy) throws FinderException
void printAllPks ()
Serializable encodePK (Serializable pk)
Serializable decodePK (Serializable strpk)

Protected Member Functions

JEntityContext createNewInstance (JEntitySwitch es) throws Exception

Protected Attributes

JEntityHome home = null
JEntityLocalHome localhome = null
boolean reentrant
boolean shared = false
int lockPolicy
boolean prefetch = false
List bctxlist = new ArrayList()
int minPoolSize
HashMap pklist = new HashMap()
HashMap txlist = new HashMap()

Package Attributes

String dsname = null

Detailed Description

This class is a factory for an Entity Bean. It is responsible for

Definition at line 66 of file JEntityFactory.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.container.JEntityFactory.JEntityFactory  ) 
 

constructor must be without parameters (required by Jorm)

Definition at line 151 of file JEntityFactory.java.


Member Function Documentation

synchronized void org.objectweb.jonas_ejb.container.JEntityFactory.bindEJB Object  pk,
JEntitySwitch  bs
 

Bind a PK with a JEntitySwitch

Parameters:
pk The Primary Key Object
bs The JEntitySwitch

Definition at line 374 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Here is the call graph for this function:

int org.objectweb.jonas_ejb.container.JEntityFactory.calculateAutomaticPk  ) 
 

Calculate a new uid for automatic pk creation Used by JEntityCmpJdbc.vm

Returns:
int (unique pk)

Definition at line 875 of file JEntityFactory.java.

void org.objectweb.jonas_ejb.container.JEntityFactory.checkTransaction RequestCtx  rctx  )  [virtual]
 

Check Transaction before calling a method on a bean. For Entity beans, the only possible case is "Container Managed Tx"

Parameters:
rctx The Request Context

Implements org.objectweb.jonas_ejb.container.JFactory.

Definition at line 739 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JFactory.checkTransactionContainer().

Here is the call graph for this function:

JEntityContext org.objectweb.jonas_ejb.container.JEntityFactory.createNewInstance JEntitySwitch  es  )  throws Exception [protected]
 

Create a new instance of the bean and its EntityContext In case of CMP, the bean class is derived to manage entity persistence.

Returns:
JEntityContext
Exceptions:
Exception cannot instantiate bean

Definition at line 938 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JContainer.registerBF(), and org.objectweb.jonas_ejb.container.JContext.setState().

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.getJContext(), and org.objectweb.jonas_ejb.container.JEntityFactory.initInstancePool().

Here is the call graph for this function:

Serializable org.objectweb.jonas_ejb.container.JEntityFactory.decodePK Serializable  strpk  ) 
 

Decode PK. This does nothing, except in case of CMP2

Returns:
PK matching the String

Reimplemented in org.objectweb.jonas_ejb.container.jorm.JormFactory.

Definition at line 990 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JTimerHandle.getTimer().

boolean org.objectweb.jonas_ejb.container.JEntityFactory.dirtyInstances  ) 
 

Returns:
true if dirty list is not empty

Definition at line 444 of file JEntityFactory.java.

void org.objectweb.jonas_ejb.container.JEntityFactory.dummyFinderException boolean  dummy  )  throws FinderException
 

Dummy method that defines the FinderException in the throws clause to can catch this exception in any case in the JentityHome.vm

Parameters:
dummy if true do nothing, else throw the FinderException
Exceptions:
FinderException if dummy is false

Definition at line 891 of file JEntityFactory.java.

Serializable org.objectweb.jonas_ejb.container.JEntityFactory.encodePK Serializable  pk  ) 
 

Encode PK. This does nothing, except in case of CMP2

Returns:
String representation of the PK

Reimplemented in org.objectweb.jonas_ejb.container.jorm.JormFactory.

Definition at line 982 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JTimerService.getPK().

synchronized JEntitySwitch org.objectweb.jonas_ejb.container.JEntityFactory.existEJB Object  pk  ) 
 

get EJB by its PK

Parameters:
pk The Primary Key Object
Returns:
The JEntitySwitch matching the PK, or null if none exist.

Definition at line 320 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Referenced by org.objectweb.jonas_ejb.container.JTimerHandle.getTimer().

int org.objectweb.jonas_ejb.container.JEntityFactory.getCacheSize  ) 
 

Returns:
current cache size for Jmx

Definition at line 692 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JEntityFactory.sync().

Object org.objectweb.jonas_ejb.container.JEntityFactory.getDataSource  ) 
 

Returns:
the Datasource used for CMP

Definition at line 727 of file JEntityFactory.java.

synchronized JEntitySwitch org.objectweb.jonas_ejb.container.JEntityFactory.getEJB Object  pk  ) 
 

get EJB by its PK Creates if not exist yet.

Parameters:
pk The Primary Key Object
Returns:
The JEntitySwitch matching the PK.

Definition at line 297 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.getJEntitySwitch(), org.objectweb.jonas_ejb.container.JEntitySwitch.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Here is the call graph for this function:

synchronized EntityCounters org.objectweb.jonas_ejb.container.JEntityFactory.getEntityCounters  ) 
 

Take a dump of current entity counters and return them

Returns:
EntityCounters

Definition at line 845 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.getState(), 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, org.objectweb.jonas_ejb.container.JEntityFactory.pklist, and org.objectweb.jonas_ejb.container.EntityCounters.removed.

Here is the call graph for this function:

JHome org.objectweb.jonas_ejb.container.JEntityFactory.getHome  ) 
 

Returns:
the home if it exists

Implements org.objectweb.jonas_ejb.container.BeanFactory.

Definition at line 587 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityRemote.getEJBHome(), org.objectweb.jonas_ejb.container.JEntitySwitch.init(), and org.objectweb.jonas_ejb.container.JEntityContext.JEntityContext().

int org.objectweb.jonas_ejb.container.JEntityFactory.getInactivityTimeout  ) 
 

Returns:
inactivity timeout in sec.

Definition at line 451 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.init().

JEntityContext org.objectweb.jonas_ejb.container.JEntityFactory.getJContext JEntitySwitch  es  ) 
 

Get a Context from the pool, or create a new one if no more available in the pool. This JContext must be initialized then by the caller.

Returns:
a JEntityContext, not initialized.

Definition at line 608 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist, org.objectweb.jonas_ejb.container.JEntityFactory.createNewInstance(), and org.objectweb.jonas_ejb.container.JEntityContext.getEntitySwitch().

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitchRO.mapICtx(), org.objectweb.jonas_ejb.container.JEntitySwitchCRU.mapICtx(), and org.objectweb.jonas_ejb.container.JEntitySwitch.mapICtx().

Here is the call graph for this function:

JEntitySwitch org.objectweb.jonas_ejb.container.JEntityFactory.getJEntitySwitch  ) 
 

This method allocates a new JEntitySwitch. But no association has been done between the primary key and the new JEntitySwitch. Therefore the initialisation is not done.

Returns:
The JEntitySwitch.

Reimplemented in org.objectweb.jonas_ejb.container.jorm.JormFactory.

Definition at line 390 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.getEJB().

JLocalHome org.objectweb.jonas_ejb.container.JEntityFactory.getLocalHome  ) 
 

Returns:
the local home if it exists

Implements org.objectweb.jonas_ejb.container.BeanFactory.

Definition at line 594 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityLocal.getEJBLocalHome(), org.objectweb.jonas_ejb.container.JEntitySwitch.init(), and org.objectweb.jonas_ejb.container.JEntityContext.JEntityContext().

int org.objectweb.jonas_ejb.container.JEntityFactory.getMaxCacheSize  ) 
 

Returns:
max cache size for Jmx

Definition at line 685 of file JEntityFactory.java.

int org.objectweb.jonas_ejb.container.JEntityFactory.getMinPoolSize  ) 
 

Returns:
min pool size for Jmx

Definition at line 678 of file JEntityFactory.java.

int org.objectweb.jonas_ejb.container.JEntityFactory.getPoolSize  )  [virtual]
 

Returns:
the Instance pool size for this Ejb

Implements org.objectweb.jonas_ejb.container.JFactory.

Definition at line 462 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist.

TimerService org.objectweb.jonas_ejb.container.JEntityFactory.getTimerService  )  [virtual]
 

Obtains the TimerService associated for this Bean

Returns:
a JTimerService instance.

Implements org.objectweb.jonas_ejb.container.JFactory.

Definition at line 671 of file JEntityFactory.java.

void org.objectweb.jonas_ejb.container.JEntityFactory.init EntityDesc  dd,
JContainer  cont
 

Init this object

Parameters:
dd the deployment descriptor
cont the Container

Definition at line 160 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.dsname, org.objectweb.jonas_ejb.deployment.api.BeanDesc.getCacheMax(), org.objectweb.jonas_ejb.container.JContainer.getClassLoader(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpHomeName(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getFullWrpLocalHomeName(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.getInactivityTimeout(), org.objectweb.jonas_ejb.container.JFactory.getInitialContext(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.getLockPolicy(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getPoolMin(), org.objectweb.jonas_ejb.container.JEntityFactory.home, org.objectweb.jonas_ejb.deployment.api.EntityDesc.isPrefetch(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.isReentrant(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.isShared(), org.objectweb.jonas_ejb.container.JEntityFactory.localhome, org.objectweb.jonas_ejb.container.JEntityFactory.lockPolicy, org.objectweb.jonas_ejb.deployment.api.BeanDesc.logger, org.objectweb.jonas_ejb.container.JEntityFactory.minPoolSize, org.objectweb.jonas_ejb.container.JEntityFactory.prefetch, org.objectweb.jonas_ejb.container.JEntityFactory.reentrant, org.objectweb.jonas_ejb.container.JLocalHome.register(), org.objectweb.jonas_ejb.container.JHome.register(), and org.objectweb.jonas_ejb.container.JEntityFactory.shared.

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityFactory.initInstancePool  )  [virtual]
 

Init the pool of instances

Implements org.objectweb.jonas_ejb.container.JFactory.

Definition at line 273 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist, org.objectweb.jonas_ejb.container.JEntityFactory.createNewInstance(), org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), and org.objectweb.jonas_ejb.container.JFactory.setComponentContext().

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityFactory.isBlocked Transaction  tx  ) 
 

Return True if this Tx is blocked waiting an instance

Definition at line 785 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.getBlockedTx(), and org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityFactory.isBlocking Transaction  tx  ) 
 

Return True if this Tx is blocking an instance

Definition at line 766 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.getBlockingTx(), and org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityFactory.isPrefetch  ) 
 

Returns:
true if prefetch enable

Definition at line 720 of file JEntityFactory.java.

boolean org.objectweb.jonas_ejb.container.JEntityFactory.isReentrant  ) 
 

Returns:
true if reentrant

Definition at line 699 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.init().

boolean org.objectweb.jonas_ejb.container.JEntityFactory.isShared  ) 
 

Returns:
true if shared

Definition at line 706 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.init().

int org.objectweb.jonas_ejb.container.JEntityFactory.lockPolicy  ) 
 

Returns:
lockPolicy

Definition at line 713 of file JEntityFactory.java.

void org.objectweb.jonas_ejb.container.JEntityFactory.printAllPks  ) 
 

print the list of PKs for DEBUG only

Definition at line 901 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.getPrimaryKey(), and org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityFactory.rebindEJB Transaction  tx,
JEntityContext  bctx,
Object  pk
 

rebind a PK with a JEntitySwitch (called by create methods)

Parameters:
tx current Transaction
bctx The EntityContext
pk The Primary Key Object
Returns:
true if bs has been added to the PK list.

Definition at line 338 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityContext.getEntitySwitch(), org.objectweb.jonas_ejb.container.JEntitySwitch.init(), org.objectweb.jonas_ejb.container.JEntityFactory.pklist, and org.objectweb.jonas_ejb.container.JEntitySwitch.terminate().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache  ) 
 

Reduce number of instances in memory

Implements org.objectweb.jonas_ejb.container.BeanFactory.

Definition at line 529 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist, org.objectweb.jonas_ejb.container.JEntityFactory.getCacheSize(), org.objectweb.jonas_ejb.container.JEntityFactory.minPoolSize, org.objectweb.jonas_ejb.container.JFactory.myClassLoader(), org.objectweb.jonas_ejb.container.JEntitySwitch.passivateIH(), org.objectweb.jonas_ejb.container.JEntityFactory.pklist, org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), and org.objectweb.jonas_ejb.container.JFactory.setComponentContext().

Here is the call graph for this function:

boolean org.objectweb.jonas_ejb.container.JEntityFactory.registerContext Transaction  tx,
JEntityContext  ec
throws IllegalStateException
 

Register a Context/Instance in the transaction.

Parameters:
tx current Transaction
ctx JEntityContext to be registered
Returns:
true if instance has been registered.

Definition at line 816 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.TxListener.addInstance(), and org.objectweb.jonas_ejb.container.JEntityFactory.txlist.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.registerCtx().

Here is the call graph for this function:

synchronized void org.objectweb.jonas_ejb.container.JEntityFactory.registerEJB JEntitySwitch  ejb  ) 
 

Register an EntitySwitch in the dirty list. should be called each time a new instance is modified outside transaction

Parameters:
ejb The Entity Switch to be registered

Definition at line 423 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.mapICtx().

void org.objectweb.jonas_ejb.container.JEntityFactory.releaseJContext JContext  ctx  ) 
 

Release a Context

Parameters:
ctx - The JContext to release.

Definition at line 647 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist, and org.objectweb.jonas_ejb.container.JEntityContext.razEntityContext().

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.discardContext(), org.objectweb.jonas_ejb.container.JEntitySwitchRO.mapICtx(), org.objectweb.jonas_ejb.container.JEntitySwitchCRU.mapICtx(), org.objectweb.jonas_ejb.container.JEntitySwitch.mapICtx(), org.objectweb.jonas_ejb.container.JEntitySwitchCS.passivateIH(), org.objectweb.jonas_ejb.container.JEntitySwitchCRC.passivateIH(), and org.objectweb.jonas_ejb.container.JEntitySwitch.txCompleted().

Here is the call graph for this function:

synchronized void org.objectweb.jonas_ejb.container.JEntityFactory.removeEJB Object  pk  ) 
 

remove an EJB by its PK

Parameters:
pk The Primary Key Object

Definition at line 409 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.pklist.

Referenced by org.objectweb.jonas_ejb.container.JEntitySwitch.discardContext().

void org.objectweb.jonas_ejb.container.JEntityFactory.removeTxListener Transaction  tx  ) 
 

Remove a Transaction Listener from the list.

Parameters:
tx the Transaction to remove

Definition at line 805 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.txlist.

Referenced by org.objectweb.jonas_ejb.container.TxListener.afterCompletion().

void org.objectweb.jonas_ejb.container.JEntityFactory.stop  ) 
 

stop this EJB. Mainly unregister it in JNDI.

Implements org.objectweb.jonas_ejb.container.BeanFactory.

Reimplemented in org.objectweb.jonas_ejb.container.jorm.JormFactory.

Definition at line 470 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.home, org.objectweb.jonas_ejb.container.JEntityFactory.localhome, org.objectweb.jonas_ejb.container.JLocalHome.unregister(), and org.objectweb.jonas_ejb.container.JHome.unregister().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityFactory.sync  ) 
 

Synchronize all dirty instances

Implements org.objectweb.jonas_ejb.container.BeanFactory.

Definition at line 486 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntitySwitch.endIH(), org.objectweb.jonas_ejb.container.JEntityFactory.getCacheSize(), org.objectweb.jonas_ejb.container.JEntitySwitch.passivateIH(), org.objectweb.jonas_ejb.container.JLocalHome.remove(), org.objectweb.jonas_ejb.container.JFactory.resetComponentContext(), and org.objectweb.jonas_ejb.container.JFactory.setComponentContext().

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.syncForFind().

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityFactory.syncForFind Transaction  tx  ) 
 

synchronize data modified in this transaction. this is necessary in case of finder method, because ejb-ql looks for on disk.

Parameters:
tx the Transaction

Definition at line 749 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JEntityFactory.lockPolicy, org.objectweb.jonas_ejb.container.TxListener.storeInstances(), org.objectweb.jonas_ejb.container.JEntityFactory.sync(), and org.objectweb.jonas_ejb.container.JEntityFactory.txlist.

Here is the call graph for this function:

void org.objectweb.jonas_ejb.container.JEntityFactory.synchronizeEntities  ) 
 

Ask swapper to synchronize all dirty EntitySwitch

Definition at line 436 of file JEntityFactory.java.

References org.objectweb.jonas_ejb.container.JContainer.registerBFS().

Here is the call graph for this function:


Member Data Documentation

List org.objectweb.jonas_ejb.container.JEntityFactory.bctxlist = new ArrayList() [protected]
 

instance pool management (list of available JEntityContext objects)

Definition at line 103 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.getJContext(), org.objectweb.jonas_ejb.container.JEntityFactory.getPoolSize(), org.objectweb.jonas_ejb.container.JEntityFactory.initInstancePool(), org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JEntityFactory.releaseJContext().

String org.objectweb.jonas_ejb.container.JEntityFactory.dsname = null [package]
 

datasource name

Definition at line 146 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init().

JEntityHome org.objectweb.jonas_ejb.container.JEntityFactory.home = null [protected]
 

optional home

Definition at line 71 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.stop().

JEntityLocalHome org.objectweb.jonas_ejb.container.JEntityFactory.localhome = null [protected]
 

optional local home

Definition at line 76 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.stop().

int org.objectweb.jonas_ejb.container.JEntityFactory.lockPolicy [protected]
 

lock policy

Definition at line 93 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.syncForFind().

int org.objectweb.jonas_ejb.container.JEntityFactory.minPoolSize [protected]
 

initial value for pool size

Definition at line 108 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init(), and org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache().

HashMap org.objectweb.jonas_ejb.container.JEntityFactory.pklist = new HashMap() [protected]
 

List of JEntitySwitch objects At each PK is associated a JEntitySwitch object

Definition at line 120 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.bindEJB(), org.objectweb.jonas_ejb.container.JEntityFactory.existEJB(), org.objectweb.jonas_ejb.container.JEntityFactory.getEJB(), org.objectweb.jonas_ejb.container.JEntityFactory.getEntityCounters(), org.objectweb.jonas_ejb.container.JEntityFactory.isBlocked(), org.objectweb.jonas_ejb.container.JEntityFactory.isBlocking(), org.objectweb.jonas_ejb.container.JEntityFactory.printAllPks(), org.objectweb.jonas_ejb.container.JEntityFactory.rebindEJB(), org.objectweb.jonas_ejb.container.JEntityFactory.reduceCache(), and org.objectweb.jonas_ejb.container.JEntityFactory.removeEJB().

boolean org.objectweb.jonas_ejb.container.JEntityFactory.prefetch = false [protected]
 

enable the prefetch for CMP2 bean

Definition at line 98 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init().

boolean org.objectweb.jonas_ejb.container.JEntityFactory.reentrant [protected]
 

reentrant if instance can be used concurrently

Definition at line 81 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init().

boolean org.objectweb.jonas_ejb.container.JEntityFactory.shared = false [protected]
 

shared if the EJB container is not the only one to modify the bean state on the database, or if a cluster of container access the bean concurrently.

Definition at line 88 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.init().

HashMap org.objectweb.jonas_ejb.container.JEntityFactory.txlist = new HashMap() [protected]
 

List of Transaction Listeners. At each Transaction is associated a TxListener object

Definition at line 126 of file JEntityFactory.java.

Referenced by org.objectweb.jonas_ejb.container.JEntityFactory.registerContext(), org.objectweb.jonas_ejb.container.JEntityFactory.removeTxListener(), and org.objectweb.jonas_ejb.container.JEntityFactory.syncForFind().


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