Interface ManagedFunctionContainer
-
- All Superinterfaces:
BlockState,FunctionState,LinkedListSetEntry<FunctionState,Flow>
- All Known Implementing Classes:
ManagedFunctionContainerImpl
public interface ManagedFunctionContainer extends BlockState
Container ofManagedFunctionLogic.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedFunctionInterestcreateInterest()Creates aManagedFunctionInterestin thisManagedFunctionContainer.FlowgetFlow()Obtains theFlowcontaining thisManagedObjectContainer.ManagedObjectContainergetManagedObjectContainer(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, setSequentialBlock
-
Methods inherited from interface net.officefloor.frame.internal.structure.FunctionState
cancel, execute, getLinkedListSetOwner, getResponsibleTeam, getThreadState, handleEscalation, isRequireThreadStateSafety
-
Methods inherited from interface net.officefloor.frame.internal.structure.LinkedListSetEntry
getNext, getPrev, setNext, setPrev
-
-
-
-
Method Detail
-
getFlow
Flow getFlow()
Obtains theFlowcontaining thisManagedObjectContainer.- Returns:
Flowcontaining thisManagedObjectContainer.
-
getManagedObjectContainer
ManagedObjectContainer getManagedObjectContainer(int index)
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.
-
-