Class SectionClassManagedFunctionSource
- java.lang.Object
-
- net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
-
- net.officefloor.plugin.managedfunction.method.AbstractFunctionManagedFunctionSource
-
- net.officefloor.plugin.section.clazz.SectionClassManagedFunctionSource
-
- All Implemented Interfaces:
ManagedFunctionSource
@PrivateSource public class SectionClassManagedFunctionSource extends AbstractFunctionManagedFunctionSource
ManagedFunctionSource
implementation to provide theManagedFunction
instances for theClassSectionSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
SectionClassManagedFunctionSource.SectionMethodManagedFunctionBuilder
-
Nested classes/interfaces inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
AbstractManagedFunctionSource.SpecificationContext
-
-
Field Summary
-
Fields inherited from class net.officefloor.plugin.managedfunction.method.AbstractFunctionManagedFunctionSource
CLASS_NAME_PROPERTY_NAME, PROPERTY_FUNCTION_NAME
-
-
Constructor Summary
Constructors Constructor Description SectionClassManagedFunctionSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodManagedFunctionBuilder
createMethodManagedFunctionBuilder(FunctionNamespaceBuilder namespaceBuilder, ManagedFunctionSourceContext context)
Creates theMethodManagedFunctionBuilder
.protected MethodObjectInstanceManufacturer
createMethodObjectInstanceManufacturer(java.lang.Class<?> clazz)
Creates theMethodObjectInstanceManufacturer
.static void
enrichWithFlowAnnotations(MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext context)
Enriches theManagedFunctionTypeBuilder
with theFlowAnnotation
instances.static void
enrichWithParameterAnnotation(MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext context)
Enriches theManagedFunctionTypeBuilder
with theParameterAnnotation
.-
Methods inherited from class net.officefloor.plugin.managedfunction.method.AbstractFunctionManagedFunctionSource
loadSpecification, sourceManagedFunctions
-
Methods inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
getSpecification
-
-
-
-
Method Detail
-
enrichWithParameterAnnotation
public static void enrichWithParameterAnnotation(MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext context)
Enriches theManagedFunctionTypeBuilder
with theParameterAnnotation
.- Parameters:
context
-MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext
.
-
enrichWithFlowAnnotations
public static void enrichWithFlowAnnotations(MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext context)
Enriches theManagedFunctionTypeBuilder
with theFlowAnnotation
instances.- Parameters:
context
-MethodManagedFunctionBuilder.EnrichManagedFunctionTypeContext
.
-
createMethodObjectInstanceManufacturer
protected MethodObjectInstanceManufacturer createMethodObjectInstanceManufacturer(java.lang.Class<?> clazz) throws java.lang.Exception
Description copied from class:AbstractFunctionManagedFunctionSource
Creates theMethodObjectInstanceManufacturer
.- Overrides:
createMethodObjectInstanceManufacturer
in classAbstractFunctionManagedFunctionSource
- Parameters:
clazz
-Class
.- Returns:
MethodObjectInstanceManufacturer
.- Throws:
java.lang.Exception
- If fails to createMethodObjectInstanceManufacturer
.
-
createMethodManagedFunctionBuilder
protected MethodManagedFunctionBuilder createMethodManagedFunctionBuilder(FunctionNamespaceBuilder namespaceBuilder, ManagedFunctionSourceContext context) throws java.lang.Exception
Description copied from class:AbstractFunctionManagedFunctionSource
Creates theMethodManagedFunctionBuilder
.- Overrides:
createMethodManagedFunctionBuilder
in classAbstractFunctionManagedFunctionSource
- Parameters:
namespaceBuilder
-FunctionNamespaceBuilder
.context
-ManagedFunctionSourceContext
.- Returns:
MethodManagedFunctionBuilder
.- Throws:
java.lang.Exception
- If fails to createMethodManagedFunctionBuilder
.
-
-