Package net.officefloor.server.http.impl
Class HttpExternalResponseManagedObjectSource.HttpExternalResponseManagedObject
java.lang.Object
net.officefloor.server.http.impl.HttpExternalResponseManagedObjectSource.HttpExternalResponseManagedObject
- All Implemented Interfaces:
CoordinatingManagedObject<HttpExternalResponseManagedObjectSource.DependencyKeys>,ManagedObject
- Enclosing class:
- HttpExternalResponseManagedObjectSource
public static class HttpExternalResponseManagedObjectSource.HttpExternalResponseManagedObject
extends Object
implements CoordinatingManagedObject<HttpExternalResponseManagedObjectSource.DependencyKeys>
ManagedObject for the HttpExternalResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the object being managed.voidLoads the Objects of theManagedObjectinstances to be referenced by thisCoordinatingManagedObject.
-
Constructor Details
-
HttpExternalResponseManagedObject
public HttpExternalResponseManagedObject()
-
-
Method Details
-
loadObjects
public void loadObjects(ObjectRegistry<HttpExternalResponseManagedObjectSource.DependencyKeys> registry) throws Throwable Description copied from interface:CoordinatingManagedObjectLoads the Objects of the
ManagedObjectinstances to be referenced by thisCoordinatingManagedObject.References to the loaded Objects must be released on recycling the
ManagedObject.- Specified by:
loadObjectsin interfaceCoordinatingManagedObject<HttpExternalResponseManagedObjectSource.DependencyKeys>- Parameters:
registry- Registry of the Objects for theManagedObjectinstances.- Throws:
Throwable- Should thisCoordinatingManagedObjectfail to load theManagedObject.
-
getObject
Description copied from interface:ManagedObjectObtains the object being managed.- Specified by:
getObjectin interfaceManagedObject- Returns:
- Object being managed.
- Throws:
Throwable- Indicating failed to obtain the object for use.
-