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 ManagedFunctionInterest
createInterest()
Creates aManagedFunctionInterest
in thisManagedFunctionContainer
.Flow
getFlow()
Obtains theFlow
containing thisManagedObjectContainer
.ManagedObjectContainer
getManagedObjectContainer(int index)
Obtains theManagedObjectContainer
bound 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 theFlow
containing thisManagedObjectContainer
.- Returns:
Flow
containing thisManagedObjectContainer
.
-
getManagedObjectContainer
ManagedObjectContainer getManagedObjectContainer(int index)
Obtains theManagedObjectContainer
bound to thisManagedFunctionContainer
.- Parameters:
index
- Index of theManagedObjectContainer
.- Returns:
ManagedObjectContainer
bound to thisManagedFunctionContainer
.
-
createInterest
ManagedFunctionInterest createInterest()
Creates a
ManagedFunctionInterest
in thisManagedFunctionContainer
.The
ManagedFunctionContainer
will not unload itsManagedFunction
boundManagedObject
instances until all registeredManagedFunctionInterest
instances have been unregistered.- Returns:
- New
ManagedFunctionInterest
in thisManagedFunctionContainer
.
-
-