Interface OfficeAwareManagedFunctionFactory<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>>
-
- All Superinterfaces:
ManagedFunctionFactory<O,F>
public interface OfficeAwareManagedFunctionFactory<O extends java.lang.Enum<O>,F extends java.lang.Enum<F>> extends ManagedFunctionFactory<O,F>
Office
awareManagedFunctionFactory
.This allows the
ManagedFunctionFactory
to:- obtain the dynamic meta-data of its containing
Office
- ability to spawn
ProcessState
instances
- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setOffice(Office office)
Provides theManagedFunctionFactory
its containingOffice
.-
Methods inherited from interface net.officefloor.frame.api.function.ManagedFunctionFactory
createManagedFunction
-
-
-
-
Method Detail
-
setOffice
void setOffice(Office office) throws java.lang.Exception
Provides theManagedFunctionFactory
its containingOffice
.- Parameters:
office
-Office
containing thisManagedFunctionFactory
.- Throws:
java.lang.Exception
- If fails to use theOffice
.
-
-