try
{
for (Iterator iterContrib = contributions.iterator(); iterContrib.hasNext();)
{
ContributionDefinition cd = (ContributionDefinition) iterContrib.next();
Module definingModule = getModule().getRegistry().getModule(cd.getModuleId());
ContributionContext context = new ContributionContextImpl(definingModule, this);
cd.getContribution().contribute(context);
}
// For backward compatibility create empty collections if nothing was contributed
if (_configuration == null) {
initEmptyCollection();
}