| org.apache.tapestry.ioc.def.ContributionDef
All known Subclasses: org.apache.tapestry.internal.SyntheticSymbolSourceContributionDef, org.apache.tapestry.ioc.internal.ContributionDefImpl,
ContributionDef | public interface ContributionDef (Code) | | Contribution to a service configuration.
The toString() method of the ContributionDef will be used for some exception reporting and should
clearly identify where the contribution comes from; the normal behavior is to identify the class
and method of the contribution method.
|
Method Summary | |
void | contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, Configuration configuration) Performs the work needed to contribute into the standard, unordered configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the unordered configuration into which values should be loaded. | void | contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, OrderedConfiguration configuration) Performs the work needed to contribute into the ordered configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the ordered configuration into which values should be loaded. | void | contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, MappedConfiguration configuration) Performs the work needed to contribute into the mapped configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the mapped configuration into which values should be loaded. | String | getServiceId() Identifies the service contributed to. |
contribute | void contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, Configuration configuration)(Code) | | Performs the work needed to contribute into the standard, unordered configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the unordered configuration into which values should be loaded. This instance willencapsulate all related error checks (such as passing of nulls or inappropriateclasses). |
contribute | void contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, OrderedConfiguration configuration)(Code) | | Performs the work needed to contribute into the ordered configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the ordered configuration into which values should be loaded. This instance willencapsulate all related error checks (such as passing of nulls or inappropriateclasses). |
contribute | void contribute(ModuleBuilderSource moduleBuilderSource, ObjectLocator locator, MappedConfiguration configuration)(Code) | | Performs the work needed to contribute into the mapped configuration.
Parameters: moduleBuilderSource - the source, if needed, of the module builder instance associated with thecontribution Parameters: locator - allows access to services visible to the module builder instance Parameters: configuration - the mapped configuration into which values should be loaded. This instance willencapsulate all related error checks (such as passing of null keys or values orinappropriate classes, or duplicate keys). |
getServiceId | String getServiceId()(Code) | | Identifies the service contributed to.
|
|
|