Interface CoordinatingManagedObject<O extends java.lang.Enum<O>>
-
- All Superinterfaces:
ManagedObject
- All Known Implementing Classes:
AccessControlManagedObjectSource.AccessControlManagedObject
,ClassManagedObject
,HttpApplicationObjectManagedObjectSource.HttpApplicationObjectManagedObject
,HttpRequestObjectManagedObjectSource.HttpRequestObjectManagedObject
,HttpSessionManagedObject
,HttpSessionObjectManagedObject
,JpaManagedObjectSource.JpaManagedObject
,SpringBeanManagedObjectSource
,TestManagedObject
,TestObject
public interface CoordinatingManagedObject<O extends java.lang.Enum<O>> extends ManagedObject
Provides the ability for the
ManagedObject
to obtain references to the Objects of otherManagedObject
instances.Optionally implemented by the
ManagedObject
provider.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
loadObjects(ObjectRegistry<O> registry)
Loads the Objects of theManagedObject
instances to be referenced by thisCoordinatingManagedObject
.-
Methods inherited from interface net.officefloor.frame.api.managedobject.ManagedObject
getObject
-
-
-
-
Method Detail
-
loadObjects
void loadObjects(ObjectRegistry<O> registry) throws java.lang.Throwable
Loads the Objects of the
ManagedObject
instances to be referenced by thisCoordinatingManagedObject
.References to the loaded Objects must be released on recycling the
ManagedObject
.- Parameters:
registry
- Registry of the Objects for theManagedObject
instances.- Throws:
java.lang.Throwable
- Should thisCoordinatingManagedObject
fail to load theManagedObject
.
-
-