|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.object.AbstractNakedObjectStore
| Constructor Summary | |
protected |
AbstractNakedObjectStore()
Create a new AbstractNakedObjectStore. |
protected |
AbstractNakedObjectStore(CachePolicy cache)
Create a new AbstractNakedObjectStore with a specified CachePolicy |
| Method Summary | |
boolean |
areObjectsDistributed()
|
boolean |
areObjectsProxied()
|
protected void |
broadcastAddUpdate(NakedCollection collection,
NakedObject object)
|
protected void |
broadcastObjectUpdate(NakedObject object)
|
protected void |
broadcastRemoveUpdate(NakedCollection collection,
NakedObject object)
|
java.util.Enumeration |
classes()
Returns a list of all the classes (as NakedClasses) that this object store can handle. |
NakedObject |
createInstance(NakedClass type)
Creates an new, persistent, naked object of the specified type - creates a logical instance. |
NakedObject |
getCachedObject(java.lang.Object oid)
|
java.lang.String |
getDebugData()
Debug details describing the object being investigated |
java.lang.String |
getDebugTitle()
the title for the debug information |
protected Log |
getLog()
|
void |
init()
|
boolean |
isLoaded(java.lang.Object oid)
Returns true if the system already holds an object with the specific OID |
void |
loaded(NakedObject object)
Called by a client to indicate it has loaded a NakedObject into the system. |
protected void |
log()
|
protected void |
log(java.lang.String text)
|
PersistenceType |
persistenceType()
|
void |
restart()
Clears the cache. |
void |
setLog(Log newLog)
Specifies the Log that all future logging calls should be made to. |
void |
setUpdateNotifier(UpdateNotifier notifier)
|
void |
shutdown()
|
void |
unloaded(NakedObject object)
Called by a client to indicate it has unloaded a NakedObject from memory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.object.NakedObjectStore |
abortTransaction, addElement, containsElement, destroyObject, endTransaction, getNextElements, getNextInstances, getObject, getPreviousElements, getPreviousInstances, hasInstances, isFirstElement, isFirstInstance, isLastElement, isLastInstance, makePersistent, name, numberOfElements, numberOfInstances, removeElement, resolve, save, serialNumber, startTransaction |
| Constructor Detail |
protected AbstractNakedObjectStore()
protected AbstractNakedObjectStore(CachePolicy cache)
| Method Detail |
public NakedObject getCachedObject(java.lang.Object oid)
public java.lang.String getDebugData()
DebugInfo
getDebugData in interface DebugInfopublic java.lang.String getDebugTitle()
DebugInfo
getDebugTitle in interface DebugInfopublic boolean isLoaded(java.lang.Object oid)
NakedObjectStore
isLoaded in interface NakedObjectStoreoid - public void setLog(Log newLog)
NakedObjectStore
setLog in interface NakedObjectStorenewLog - org.nakedobjects.utility.Logpublic void setUpdateNotifier(UpdateNotifier notifier)
setUpdateNotifier in interface NakedObjectStorepublic boolean areObjectsDistributed()
areObjectsDistributed in interface NakedObjectStorepublic boolean areObjectsProxied()
areObjectsProxied in interface NakedObjectStore
public java.util.Enumeration classes()
throws ObjectStoreException
NakedObjectStore
classes in interface NakedObjectStoreObjectStoreException
public NakedObject createInstance(NakedClass type)
throws ObjectStoreException
NakedObjectStorecreated
method, and ensures the object's initial logical state is stored away.
createInstance in interface NakedObjectStoreObjectStoreException
public void init()
throws ObjectStoreException
init in interface NakedObjectStoreObjectStoreException
public void loaded(NakedObject object)
throws ResolveException
NakedObjectStore
loaded in interface NakedObjectStoreobject -
ResolveExceptionpublic PersistenceType persistenceType()
persistenceType in interface NakedObjectStore
public void shutdown()
throws ObjectStoreException
shutdown in interface NakedObjectStoreObjectStoreExceptionpublic void unloaded(NakedObject object)
NakedObjectStore
unloaded in interface NakedObjectStoreobject - protected Log getLog()
protected void broadcastAddUpdate(NakedCollection collection,
NakedObject object)
protected void broadcastObjectUpdate(NakedObject object)
protected void broadcastRemoveUpdate(NakedCollection collection,
NakedObject object)
protected void log()
protected void log(java.lang.String text)
public void restart()
restart in interface NakedObjectStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||