Class LoadManagedObjectFunctionFactory
java.lang.Object
net.officefloor.frame.api.function.StaticManagedFunction<LoadManagedObjectFunctionFactory.Dependencies,None>
net.officefloor.frame.impl.execute.office.LoadManagedObjectFunctionFactory
- All Implemented Interfaces:
ManagedFunction<LoadManagedObjectFunctionFactory.Dependencies,,None> ManagedFunctionFactory<LoadManagedObjectFunctionFactory.Dependencies,None>
public class LoadManagedObjectFunctionFactory
extends StaticManagedFunction<LoadManagedObjectFunctionFactory.Dependencies,None>
ManagedFunctionFactory to load the object of a ManagedObject.- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDependency keys for theLoadManagedObjectFunctionFactory.static interfaceInterface for parameter to receive the loaded object of theManagedObject. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the function.Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
Constructor Details
-
LoadManagedObjectFunctionFactory
public LoadManagedObjectFunctionFactory()
-
-
Method Details
-
execute
public void execute(ManagedFunctionContext<LoadManagedObjectFunctionFactory.Dependencies, None> context) throws ThrowableDescription copied from interface:ManagedFunctionExecutes the function.- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
Throwable- Indicating failure of theManagedFunction.
-