Interface CoordinatingManagedObject<O extends Enum<O>>
- All Superinterfaces:
ManagedObject
- All Known Implementing Classes:
AccessControlManagedObjectSource.AccessControlManagedObject,ClassManagedObject,HttpApplicationObjectManagedObjectSource.HttpApplicationObjectManagedObject,HttpExternalResponseManagedObjectSource.HttpExternalResponseManagedObject,HttpRequestObjectManagedObjectSource.HttpRequestObjectManagedObject,HttpSessionManagedObject,HttpSessionObjectManagedObject,JpaManagedObjectSource.JpaManagedObject,SpringArgumentManagedObjectSource.SpringArgumentManagedObject,SpringBeanManagedObjectSource,TestManagedObject,TestObject
Provides the ability for the ManagedObject to obtain references to
the Objects of other ManagedObject instances.
Optionally implemented by the ManagedObject provider.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionvoidloadObjects(ObjectRegistry<O> registry) Loads the Objects of theManagedObjectinstances to be referenced by thisCoordinatingManagedObject.Methods inherited from interface net.officefloor.frame.api.managedobject.ManagedObject
getObject
-
Method Details
-
loadObjects
Loads the Objects of the
ManagedObjectinstances to be referenced by thisCoordinatingManagedObject.References to the loaded Objects must be released on recycling the
ManagedObject.- Parameters:
registry- Registry of the Objects for theManagedObjectinstances.- Throws:
Throwable- Should thisCoordinatingManagedObjectfail to load theManagedObject.
-