Class SyntheticSymbolSourceContributionDef

  extended by org.apache.tapestry5.internal.AbstractContributionDef
      extended by org.apache.tapestry5.internal.SyntheticSymbolSourceContributionDef
All Implemented Interfaces:

public class SyntheticSymbolSourceContributionDef
extends AbstractContributionDef

Makes a contribution to the SymbolSource service configuration.

Constructor Summary
SyntheticSymbolSourceContributionDef(String contributionName, SymbolProvider provider, String... constraints)
Method Summary
 void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration)
          Performs the work needed to contribute into the ordered configuration.
 String getServiceId()
          Returns "SymbolSource".
Methods inherited from class org.apache.tapestry5.internal.AbstractContributionDef
contribute, contribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SyntheticSymbolSourceContributionDef(String contributionName,
                                            SymbolProvider provider,
                                            String... constraints)
Method Detail


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 interface ContributionDef
contribute in class AbstractContributionDef
moduleSource - the source, if needed, of the module instance associated with the contribution
resources - allows access to services visible to the module
configuration - 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).


public String getServiceId()
Returns "SymbolSource".

Copyright © 2003-2012 The Apache Software Foundation.