Class SyntheticSymbolSourceContributionDef
java.lang.Object
org.apache.tapestry5.http.internal.AbstractContributionDef
org.apache.tapestry5.http.internal.SyntheticSymbolSourceContributionDef
- All Implemented Interfaces:
ContributionDef
Makes a contribution to the SymbolSource service configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionSyntheticSymbolSourceContributionDef
(String contributionName, SymbolProvider provider, String... constraints) -
Method Summary
Modifier and TypeMethodDescriptionvoid
contribute
(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration) Performs the work needed to contribute into the ordered configuration.Returns "SymbolSource".Methods inherited from class org.apache.tapestry5.http.internal.AbstractContributionDef
contribute, contribute
-
Constructor Details
-
SyntheticSymbolSourceContributionDef
public SyntheticSymbolSourceContributionDef(String contributionName, SymbolProvider provider, String... constraints)
-
-
Method Details
-
contribute
public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration) Description copied from interface:ContributionDef
Performs the work needed to contribute into the ordered configuration.- Specified by:
contribute
in interfaceContributionDef
- Overrides:
contribute
in classAbstractContributionDef
- Parameters:
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the ordered configuration into which values should be loaded. This instance will encapsulate all related error checks (such as passing of nulls or inappropriate classes).
-
getServiceId
Returns "SymbolSource".
-