Class ManagedObjectCleanupImpl
- java.lang.Object
-
- net.officefloor.frame.impl.execute.managedobject.ManagedObjectCleanupImpl
-
- All Implemented Interfaces:
ManagedObjectCleanup
public class ManagedObjectCleanupImpl extends java.lang.Object implements ManagedObjectCleanup
ManagedObjectCleanup
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ManagedObjectCleanupImpl(ProcessState processState, OfficeMetaData officeMetaData)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionState
cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)
Creates the clean upFunctionState
.
-
-
-
Constructor Detail
-
ManagedObjectCleanupImpl
public ManagedObjectCleanupImpl(ProcessState processState, OfficeMetaData officeMetaData)
Instantiate.- Parameters:
processState
-ProcessState
to be cleaned up.officeMetaData
-OfficeMetaData
.
-
-
Method Detail
-
cleanup
public FunctionState cleanup(FlowMetaData recycleFlowMetaData, java.lang.Class<?> objectType, ManagedObject managedObject, ManagedObjectPool managedObjectPool)
Description copied from interface:ManagedObjectCleanup
Creates the clean upFunctionState
.- Specified by:
cleanup
in interfaceManagedObjectCleanup
- Parameters:
recycleFlowMetaData
-FlowMetaData
to recycle theManagedObject
.objectType
- Type of the object from theManagedObject
.managedObject
-ManagedObject
to be cleaned up.managedObjectPool
- OptionalManagedObjectPool
to return theManagedObject
. May benull
.- Returns:
FunctionState
to clean up theManagedObject
.
-
-