injectors.add(nameElement.getEventInvoker(name));
} else if (element instanceof ContextExtensibilityElement) {
ContextExtensibilityElement contextElement = (ContextExtensibilityElement) element;
injectors.add(contextElement.getInjector(contextFactory));
} else if (element instanceof InjectorExtensibilityElement) {
InjectorExtensibilityElement injectorElement = (InjectorExtensibilityElement) element;
injectors.add(injectorElement.getInjector(contextFactory));
} else if (element instanceof SystemInjectorExtensibilityElement) {
SystemInjectorExtensibilityElement injectorElement = (SystemInjectorExtensibilityElement) element;
injectors.add(injectorElement.getInjector(contextFactory));
} else if (element instanceof MonitorExtensibilityElement) {
MonitorExtensibilityElement monitorElement = (MonitorExtensibilityElement) element;
injectors.add(monitorElement.getInjector(monitorFactory));
}
}