Interface ManagedFunctionContainer
- All Superinterfaces:
BlockState,FunctionState,LinkedListSetEntry<FunctionState,Flow>
- All Known Implementing Classes:
ManagedFunctionContainerImpl
Container of
ManagedFunctionLogic.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionCreates aManagedFunctionInterestin thisManagedFunctionContainer.getFlow()Obtains theFlowcontaining thisManagedObjectContainer.getManagedObjectContainer(int index) Obtains theManagedObjectContainerbound to thisManagedFunctionContainer.Methods inherited from interface net.officefloor.frame.internal.structure.BlockState
getNextBlockToExecute, getParallelBlock, getParallelBlockToExecute, getParallelOwner, getSequentialBlock, loadParallelBlock, loadSequentialBlock, setParallelBlock, setParallelOwner, setSequentialBlockMethods inherited from interface net.officefloor.frame.internal.structure.FunctionState
cancel, execute, getLinkedListSetOwner, getResponsibleTeam, getThreadState, handleEscalation, isRequireThreadStateSafetyMethods inherited from interface net.officefloor.frame.internal.structure.LinkedListSetEntry
getNext, getPrev, setNext, setPrev
-
Method Details
-
getFlow
Flow getFlow()Obtains theFlowcontaining thisManagedObjectContainer.- Returns:
Flowcontaining thisManagedObjectContainer.
-
getManagedObjectContainer
Obtains theManagedObjectContainerbound to thisManagedFunctionContainer.- Parameters:
index- Index of theManagedObjectContainer.- Returns:
ManagedObjectContainerbound to thisManagedFunctionContainer.
-
createInterest
ManagedFunctionInterest createInterest()Creates a
ManagedFunctionInterestin thisManagedFunctionContainer.The
ManagedFunctionContainerwill not unload itsManagedFunctionboundManagedObjectinstances until all registeredManagedFunctionInterestinstances have been unregistered.- Returns:
- New
ManagedFunctionInterestin thisManagedFunctionContainer.
-