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 aManagedObject
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadManagedObjectFunctionFactory.Dependencies
Dependency keys for theLoadManagedObjectFunctionFactory
.static interface
LoadManagedObjectFunctionFactory.LoadManagedObjectParameter
Interface 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 void
execute(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:ManagedFunction
Executes the function.- Parameters:
context
-ManagedFunctionContext
for theManagedFunction
.- Throws:
java.lang.Throwable
- Indicating failure of theManagedFunction
.
-
-