try {
impl.setComponentType(introspector.introspect(ServiceImpl.class));
} catch (ConfigurationException e) {
throw new AssertionError();
}
impl.initialize(null);
AtomicComponent component = assemblyFactory.createSimpleComponent();
component.setImplementation(impl);
return component;
}