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>
ManagedFunctionFactoryto load the object of aManagedObject.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLoadManagedObjectFunctionFactory.DependenciesDependency keys for theLoadManagedObjectFunctionFactory.static interfaceLoadManagedObjectFunctionFactory.LoadManagedObjectParameterInterface for parameter to receive the loaded object of theManagedObject.
-
Constructor Summary
Constructors Constructor Description LoadManagedObjectFunctionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(ManagedFunctionContext<LoadManagedObjectFunctionFactory.Dependencies,None> context)Executes the function.-
Methods inherited from class net.officefloor.frame.api.function.StaticManagedFunction
createManagedFunction
-
-
-
-
Method Detail
-
execute
public void execute(ManagedFunctionContext<LoadManagedObjectFunctionFactory.Dependencies,None> context) throws java.lang.Throwable
Description copied from interface:ManagedFunctionExecutes the function.- Parameters:
context-ManagedFunctionContextfor theManagedFunction.- Throws:
java.lang.Throwable- Indicating failure of theManagedFunction.
-
-