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
ManagedObjectto obtain references to the Objects of otherManagedObjectinstances.Optionally implemented by the
ManagedObjectprovider.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidloadObjects(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 Detail
-
loadObjects
void loadObjects(ObjectRegistry<O> registry) throws java.lang.Throwable
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:
java.lang.Throwable- Should thisCoordinatingManagedObjectfail to load theManagedObject.
-
-