Consider abstract classes with @Lookup methods as candidate components

Issue: SPR-14550
This commit is contained in:
Juergen Hoeller
2017-01-23 17:28:18 +01:00
parent ed40b1c8ee
commit 7d3fcaa934
8 changed files with 164 additions and 80 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2010 the original author or authors.
* Copyright 2002-2017 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.
@@ -30,7 +30,7 @@ import org.springframework.stereotype.Component;
@Component
public @interface DevComponent {
public static final String PROFILE_NAME = "dev";
String PROFILE_NAME = "dev";
String value() default "";