org.nakedobjects.runtime.persistence.container
Class DomainObjectContainerObjectChanged
java.lang.Object
org.nakedobjects.runtime.persistence.container.DomainObjectContainerObjectChanged
public class DomainObjectContainerObjectChanged
- extends java.lang.Object
Helper class that encapsulates the processing performed by domain object
containers that are performing an objectChanged.
Implementation note: rather than inject in its dependencies, we instead look
up dependencies from the NakedObjectsContext. This is necessary, for
the PersistenceSession at least, because class enhancers may hold a
reference to the factory as part of the generated bytecode. Since the
PersistenceSession could change over the lifetime of the instance (eg
when using the InMemoryObjectStore), we must always look the
PersistenceSession from the NakedObjectsContext. The same
applies to the ServicesInjector.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainObjectContainerObjectChanged
public DomainObjectContainerObjectChanged()
objectChanged
public void objectChanged(java.lang.Object object)
getPersistenceSession
protected PersistenceSession getPersistenceSession()
getAdapterManager
protected AdapterManager getAdapterManager()
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.