| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContributionContext
Context for execution of a Contribution.
 
 Allows to manipulate a configuration from a Contribution.
 The new contribution can be merged with the existing configuration data or
 the data may be changed or replaced.
| Method Summary | |
|---|---|
|  java.lang.Object | getConfigurationData() | 
|  ConfigurationPoint | getConfigurationPoint() | 
|  void | mergeContribution(java.lang.Object contributionData)Merges contribution data with the data already provided by other contributions. | 
|  void | setConfigurationData(java.lang.Object data)Replaces all configuration data with data. | 
| Methods inherited from interface org.apache.hivemind.definition.ConstructionContext | 
|---|
| containsService, getConfiguration, getDefiningModule, getRegistry, getService, getService | 
| Method Detail | 
|---|
ConfigurationPoint getConfigurationPoint()
java.lang.Object getConfigurationData()
void setConfigurationData(java.lang.Object data)
data. Overrides data provided by other contributions
 so should only be called when getConfigurationData() returns null.
data - the datavoid mergeContribution(java.lang.Object contributionData)
contributionData - the data to merge. Must be compatible with the type of the configuration.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||