public interface WoofTemplateExtensionLoader
WoofTemplateExtensionSource
.Modifier and Type | Method and Description |
---|---|
void |
extendTemplate(String extensionSourceClassName,
PropertyList properties,
HttpTemplateAutoWireSection template,
WebAutoWireApplication application,
SourceContext sourceContext)
Extends the
HttpTemplateAutoWireSection with the
WoofTemplateExtensionSource . |
PropertyList |
loadSpecification(String woofTemplateExtensionSourceClassName,
ClassLoader classLoader,
CompilerIssues issues)
Loads and returns the
PropertyList from the
WoofTemplateExtensionSourceSpecification for the
WoofTemplateExtensionSource . |
Change<?> |
refactorTemplateExtension(String woofTemplateExtensionSourceClassName,
String oldUri,
SourceProperties oldProperties,
String newUri,
SourceProperties newProperties,
ConfigurationContext configurationContext,
SourceContext sourceContext,
WoofChangeIssues issues)
Refactors the
WoofTemplateExtensionSource for the
WoofTemplateModel . |
PropertyList loadSpecification(String woofTemplateExtensionSourceClassName, ClassLoader classLoader, CompilerIssues issues)
PropertyList
from the
WoofTemplateExtensionSourceSpecification
for the
WoofTemplateExtensionSource
.woofTemplateExtensionSourceClassName
- WoofTemplateExtensionSource
class name.classLoader
- ClassLoader
to use in loading the specification.issues
- CompilerIssues
to report any issues in attempting to
obtain the PropertyList
.PropertyList
of the
WoofTemplateExtensionSourceProperty
instances of the
WoofTemplateExtensionSourceSpecification
or
null
if issue, which is reported to the
CompilerIssues
.Change<?> refactorTemplateExtension(String woofTemplateExtensionSourceClassName, String oldUri, SourceProperties oldProperties, String newUri, SourceProperties newProperties, ConfigurationContext configurationContext, SourceContext sourceContext, WoofChangeIssues issues)
WoofTemplateExtensionSource
for the
WoofTemplateModel
.woofTemplateExtensionSourceClassName
- WoofTemplateExtensionSource
class name.oldUri
- Old URI. May be null
if adding
WoofTemplateExtensionSource
.oldProperties
- Old SourceProperties
.newUri
- New URI. May be null
if removing the
WoofTemplateExtensionSource
.newProperties
- New SourceProperties
.configurationContext
- ConfigurationContext
.sourceContext
- SourceContext
.issues
- WoofChangeIssues
.Change
to refactor the
WoofTemplateExtensionSource
for the
WoofTemplateModel
.void extendTemplate(String extensionSourceClassName, PropertyList properties, HttpTemplateAutoWireSection template, WebAutoWireApplication application, SourceContext sourceContext) throws WoofTemplateExtensionException
HttpTemplateAutoWireSection
with the
WoofTemplateExtensionSource
.extensionSourceClassName
- Name of the WoofTemplateExtensionSource
class name.properties
- PropertyList
to configure the
WoofTemplateExtensionSource
.template
- HttpTemplateAutoWireSection
to be extended.application
- WebAutoWireApplication
.sourceContext
- SourceContext
.WoofTemplateExtensionException
- If fails to extend the HttpTemplateAutoWireSection
.Copyright © 2005–2016. All rights reserved.