Class FlowClassDependencyFactory
java.lang.Object
net.officefloor.plugin.clazz.dependency.impl.FlowClassDependencyFactory
- All Implemented Interfaces:
ClassDependencyFactory
- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates the dependency forAdministration.createDependency(ManagedFunctionContext<Indexed, Indexed> context) Creates the dependency for aManagedFunction.createDependency(ManagedObject managedObject, ManagedObjectContext context, ObjectRegistry<Indexed> registry) Creates the dependency for aManagedObject.voidloadManagedObjectExecuteContext(ManagedObjectExecuteContext<Indexed> executeContext) Loads theManagedObjectExecuteContext.
-
Constructor Details
-
FlowClassDependencyFactory
Instantiate.- Parameters:
factory-ClassFlowInterfaceFactory.
-
-
Method Details
-
loadManagedObjectExecuteContext
Description copied from interface:ClassDependencyFactoryLoads theManagedObjectExecuteContext.- Specified by:
loadManagedObjectExecuteContextin interfaceClassDependencyFactory- Parameters:
executeContext-ManagedObjectExecuteContext.
-
createDependency
public Object createDependency(ManagedObject managedObject, ManagedObjectContext context, ObjectRegistry<Indexed> registry) throws Exception Description copied from interface:ClassDependencyFactoryCreates the dependency for aManagedObject.- Specified by:
createDependencyin interfaceClassDependencyFactory- Parameters:
managedObject-ManagedObject.context-ManagedObjectContext.registry-ObjectRegistry.- Returns:
- Dependency.
- Throws:
Exception
-
createDependency
Description copied from interface:ClassDependencyFactoryCreates the dependency for aManagedFunction.- Specified by:
createDependencyin interfaceClassDependencyFactory- Parameters:
context-ManagedFunctionContext.- Returns:
- Dependency.
- Throws:
Throwable- If fails to create the dependency.
-
createDependency
public Object createDependency(AdministrationContext<Object, Indexed, throws ThrowableIndexed> context) Description copied from interface:ClassDependencyFactoryCreates the dependency forAdministration.- Specified by:
createDependencyin interfaceClassDependencyFactory- Parameters:
context-AdministrationContext.- Returns:
- Dependency.
- Throws:
Throwable- If fails to create the dependency.
-