Class AbstractContributionDef
- java.lang.Object
-
- org.apache.tapestry5.http.internal.AbstractContributionDef
-
- All Implemented Interfaces:
ContributionDef
- Direct Known Subclasses:
SyntheticSymbolSourceContributionDef
public abstract class AbstractContributionDef extends java.lang.Object implements ContributionDef
Partially implementsContributionDef
, providing empty implementations of the three contribute() methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractContributionDef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
contribute(ModuleBuilderSource moduleSource, ServiceResources resources, Configuration configuration)
Performs the work needed to contribute into the standard, unordered configuration.void
contribute(ModuleBuilderSource moduleSource, ServiceResources resources, MappedConfiguration configuration)
Performs the work needed to contribute into the mapped configuration.void
contribute(ModuleBuilderSource moduleSource, ServiceResources resources, OrderedConfiguration configuration)
Performs the work needed to contribute into the ordered configuration.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tapestry5.ioc.def.ContributionDef
getServiceId
-
-
-
-
Constructor Detail
-
AbstractContributionDef
public AbstractContributionDef()
-
-
Method Detail
-
contribute
public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, Configuration configuration)
Description copied from interface:ContributionDef
Performs the work needed to contribute into the standard, unordered configuration.- Specified by:
contribute
in interfaceContributionDef
- Parameters:
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the unordered configuration into which values should be loaded. This instance will encapsulate all related error checks (such as passing of nulls or inappropriate classes).
-
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
- 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).
-
contribute
public void contribute(ModuleBuilderSource moduleSource, ServiceResources resources, MappedConfiguration configuration)
Description copied from interface:ContributionDef
Performs the work needed to contribute into the mapped configuration.- Specified by:
contribute
in interfaceContributionDef
- Parameters:
moduleSource
- the source, if needed, of the module instance associated with the contributionresources
- allows access to services visible to the moduleconfiguration
- the mapped configuration into which values should be loaded. This instance will encapsulate all related error checks (such as passing of null keys or values or inappropriate classes, or duplicate keys).
-
-