Class SyntheticSymbolSourceContributionDef
- java.lang.Object
-
- org.apache.tapestry5.http.internal.AbstractContributionDef
-
- org.apache.tapestry5.http.internal.SyntheticSymbolSourceContributionDef
-
- All Implemented Interfaces:
ContributionDef
public class SyntheticSymbolSourceContributionDef extends AbstractContributionDef
Makes a contribution to the SymbolSource service configuration.
-
-
Constructor Summary
Constructors Constructor Description SyntheticSymbolSourceContributionDef(java.lang.String contributionName, SymbolProvider provider, java.lang.String... constraints)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration)Performs the work needed to contribute into the ordered configuration.java.lang.StringgetServiceId()Returns "SymbolSource".-
Methods inherited from class org.apache.tapestry5.http.internal.AbstractContributionDef
contribute, contribute
-
-
-
-
Constructor Detail
-
SyntheticSymbolSourceContributionDef
public SyntheticSymbolSourceContributionDef(java.lang.String contributionName, SymbolProvider provider, java.lang.String... constraints)
-
-
Method Detail
-
contribute
public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration)
Description copied from interface:ContributionDefPerforms the work needed to contribute into the ordered configuration.- Specified by:
contributein interfaceContributionDef- Overrides:
contributein 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
public java.lang.String getServiceId()
Returns "SymbolSource".
-
-