org.nakedobjects.runtime.persistence.container
Class DomainObjectContainerResolve
java.lang.Object
org.nakedobjects.runtime.persistence.container.DomainObjectContainerResolve
public class DomainObjectContainerResolve
- extends java.lang.Object
Helper class that encapsulates the processing performed by domain object containers
that are performing a resolve.
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 |
DomainObjectContainerResolve
public DomainObjectContainerResolve()
resolve
public void resolve(java.lang.Object parent)
resolve
public void resolve(java.lang.Object parent,
java.lang.Object field)
getPersistenceSession
protected PersistenceSession getPersistenceSession()
getAdapterManager
protected AdapterManager getAdapterManager()
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.