java.lang.Object
com.RuntimeCollective.webapps.IndexedEntityBeanStore
com.RuntimeCollective.webapps.AlwaysUpdateEntityBeanStore
- All Implemented Interfaces:
- EntityBeanStore
- public class AlwaysUpdateEntityBeanStore
- extends IndexedEntityBeanStore
An extension of IndexedEntityBeanStore that updates the EntityBean on every "get".
Unlike the SynchronizedEntityBeanStore, it really updates
on every get.
- Version:
- $Id: AlwaysUpdateEntityBeanStore.java,v 1.5 2003/09/30 15:13:03 joe Exp $
| Fields inherited from class com.RuntimeCollective.webapps.IndexedEntityBeanStore |
caches, cachesList, CLASS_NAME_FIELD, classes, classesList, classId, classIndices, classNew, CREATED_BEAN, creates, createsList, DELETE_QUERY, DELETING_BEAN, ESC_COMMA_ESC, FLUSHING_BEAN, FOR_CLASS, FROM_DB, gets, getsList, GlobalObjectIdNameHash, noRegisteredBeans, NOTHING, OBJECT_TABLE, ORDER_BY, paramId, paramNew, ParentLists, REFRESHING_BEAN, RELOADING_BEAN, SAVING_BEAN, SELECT_CLASSNAME_QUERY, SELECT_ID, SELECT_QUERY, SPACE, tables, tablesList, WHERE_CLASSNAME |
| Methods inherited from class com.RuntimeCollective.webapps.IndexedEntityBeanStore |
checkClassExtendsOrImplementsAnother, clear, create, delete, delete, fillGlobalObjectCache, flush, flush, getAll, getAllAsList, getAllClasses, getAllIds, getAllIdsAsList, getAsLazyList, getAsLazyList, getAsLazyList, getBeanCache, getExactNameAll, getExactNameAllAsList, getExactNameAllIds, getExactNameAllIdsAsList, getRealClassName, getStoreForBean, init, refresh, refresh, registerBean, save, save |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysUpdateEntityBeanStore
public AlwaysUpdateEntityBeanStore()
get
public com.RuntimeCollective.webapps.bean.EntityBean get(java.lang.String className,
int id)
throws java.lang.RuntimeException
- Get an entity bean (this used to use entity name)
- Specified by:
get in interface EntityBeanStore- Overrides:
get in class IndexedEntityBeanStore