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