|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2013 the original author or authors. |
|
|
|
|
* Copyright 2002-2016 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -127,15 +127,13 @@ public class AnnotatedBeanDefinitionReader { |
|
|
|
|
registerBean(annotatedClass, null, (Class<? extends Annotation>[]) null); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void registerBean(Class<?> annotatedClass, |
|
|
|
|
@SuppressWarnings("unchecked") Class<? extends Annotation>... qualifiers) { |
|
|
|
|
|
|
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
public void registerBean(Class<?> annotatedClass, Class<? extends Annotation>... qualifiers) { |
|
|
|
|
registerBean(annotatedClass, null, qualifiers); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void registerBean(Class<?> annotatedClass, String name, |
|
|
|
|
@SuppressWarnings("unchecked") Class<? extends Annotation>... qualifiers) { |
|
|
|
|
|
|
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
|
public void registerBean(Class<?> annotatedClass, String name, Class<? extends Annotation>... qualifiers) { |
|
|
|
|
AnnotatedGenericBeanDefinition abd = new AnnotatedGenericBeanDefinition(annotatedClass); |
|
|
|
|
if (this.conditionEvaluator.shouldSkip(abd.getMetadata())) { |
|
|
|
|
return; |
|
|
|
|