Class AbstractManagedFunctionSource
- java.lang.Object
-
- net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
-
- All Implemented Interfaces:
ManagedFunctionSource
- Direct Known Subclasses:
AbstractFunctionManagedFunctionSource
,ProcedureManagedFunctionSource
,WebTemplateSectionSource.WebTemplateManagedFunctionSource
public abstract class AbstractManagedFunctionSource extends java.lang.Object implements ManagedFunctionSource
AbstractManagedFunctionSource
.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
AbstractManagedFunctionSource.SpecificationContext
Context for defining the specification.
-
Constructor Summary
Constructors Constructor Description AbstractManagedFunctionSource()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ManagedFunctionSourceSpecification
getSpecification()
Obtains theManagedFunctionSourceSpecification
for thisManagedFunctionSource
.protected abstract void
loadSpecification(AbstractManagedFunctionSource.SpecificationContext context)
Loads theManagedFunctionSourceSpecification
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.compile.spi.managedfunction.source.ManagedFunctionSource
sourceManagedFunctions
-
-
-
-
Method Detail
-
getSpecification
public ManagedFunctionSourceSpecification getSpecification()
Description copied from interface:ManagedFunctionSource
Obtains the
ManagedFunctionSourceSpecification
for thisManagedFunctionSource
.This enables the
ManagedFunctionSourceContext
to be populated with the necessary details as per thisManagedFunctionSourceSpecification
in loading theFunctionNamespaceType
.- Specified by:
getSpecification
in interfaceManagedFunctionSource
- Returns:
ManagedFunctionSourceSpecification
.
-
loadSpecification
protected abstract void loadSpecification(AbstractManagedFunctionSource.SpecificationContext context)
Loads theManagedFunctionSourceSpecification
.- Parameters:
context
-AbstractManagedFunctionSource.SpecificationContext
.
-
-