Interface ManagedFunctionSource
- All Known Implementing Classes:
AbstractFunctionManagedFunctionSource,AbstractManagedFunctionSource,ClassManagedFunctionSource,ClassSectionSource.SectionClassManagedFunctionSource,ProcedureManagedFunctionSource,WebTemplateSectionSource.WebTemplateManagedFunctionSource
public interface ManagedFunctionSource
Sources the
FunctionNamespaceType.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theManagedFunctionSourceSpecificationfor thisManagedFunctionSource.voidsourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context) Sources theFunctionNamespaceTypeby populating it via the inputFunctionNamespaceBuilder.
-
Method Details
-
getSpecification
ManagedFunctionSourceSpecification getSpecification()Obtains the
ManagedFunctionSourceSpecificationfor thisManagedFunctionSource.This enables the
ManagedFunctionSourceContextto be populated with the necessary details as per thisManagedFunctionSourceSpecificationin loading theFunctionNamespaceType.- Returns:
ManagedFunctionSourceSpecification.
-
sourceManagedFunctions
void sourceManagedFunctions(FunctionNamespaceBuilder functionNamespaceTypeBuilder, ManagedFunctionSourceContext context) throws Exception Sources theFunctionNamespaceTypeby populating it via the inputFunctionNamespaceBuilder.- Parameters:
functionNamespaceTypeBuilder-FunctionNamespaceBuilderto be populated with thetype definitionof theManagedFunctionSource.context-ManagedFunctionSourceContextto source details to populate theFunctionNamespaceBuilder.- Throws:
Exception- If fails to populate theFunctionNamespaceBuilder.
-