}
URI eventRepURI = entry.getKey();
PlugInEventRepresentation pluginEventRep = (PlugInEventRepresentation) pluginEventRepObj;
Serializable initializer = entry.getValue().getInitializer();
PlugInEventRepresentationContext context = new PlugInEventRepresentationContext(eventAdapterService, eventRepURI, initializer);
try
{
pluginEventRep.init(context);
eventAdapterService.addEventRepresentation(eventRepURI, pluginEventRep);