Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps
Class AlwaysUpdateEntityBeanStore  view AlwaysUpdateEntityBeanStore download AlwaysUpdateEntityBeanStore.java

java.lang.Object
  extended bycom.RuntimeCollective.webapps.IndexedEntityBeanStore
      extended bycom.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 $

Field Summary
 
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
 
Constructor Summary
AlwaysUpdateEntityBeanStore()
           
 
Method Summary
 com.RuntimeCollective.webapps.bean.EntityBean get(java.lang.String className, int id)
          Get an entity bean (this used to use entity name)
 
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
 

Constructor Detail

AlwaysUpdateEntityBeanStore

public AlwaysUpdateEntityBeanStore()
Method Detail

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