ExtensionInitializer initializer = (ExtensionInitializer)container.getComponentInstance(ExtensionInitializer.class);
if (initializer != null) {
initializer.initExtension(componentInstance);
}
myComponentInstance = componentInstance;
<BUG>}
if (myComponentInstance instanceof PluginAware) {
PluginAware pluginAware = (PluginAware) myComponentInstance;
pluginAware.setPluginDescriptor(myPluginDescriptor);</BUG>
}

ExtensionInitializer initializer = (ExtensionInitializer)container.getComponentInstance(ExtensionInitializer.class);
if (initializer != null) {
initializer.initExtension(componentInstance);
