Class<?> implType = getImplClass(compType);
// TODO stateless components should not / need not be cached
// autowire the component if not done yet
if (!namedComponents.containsKey(compName)) {
boolean required = inAnnotation.required();
boolean autoCreate = implType.isAnnotationPresent(AutoCreate.class);
Scope scopeAnn = implType.getAnnotation(Scope.class);
boolean stateless = false;
if (scopeAnn != null) {
stateless = scopeAnn.value() == ScopeType.STATELESS;