File tree 2 files changed +2
-7
lines changed
spring-context/src/main/java/org/springframework/context/annotation
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2009 the original author or authors.
2
+ * Copyright 2002-2012 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
28
28
* created by the container before this bean. Used infrequently in cases where a bean
29
29
* does not explicitly depend on another through properties or constructor arguments,
30
30
* but rather depends on the side effects of another bean's initialization.
31
- * <p>Note: This attribute will not be inherited by child bean definitions,
32
- * hence it needs to be specified per concrete bean definition.
33
31
*
34
32
* <p>May be used on any class directly or indirectly annotated with
35
33
* {@link org.springframework.stereotype.Component} or on methods annotated
45
43
*/
46
44
@ Target ({ElementType .TYPE , ElementType .METHOD })
47
45
@ Retention (RetentionPolicy .RUNTIME )
48
- @ Inherited
49
46
@ Documented
50
47
public @interface DependsOn {
51
48
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2009 the original author or authors.
2
+ * Copyright 2002-2012 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
21
21
import java .lang .annotation .Retention ;
22
22
import java .lang .annotation .RetentionPolicy ;
23
23
import java .lang .annotation .Target ;
24
- import java .lang .annotation .Inherited ;
25
24
26
25
/**
27
26
* Indicates whether a bean is to be lazily initialized.
52
51
*/
53
52
@ Target ({ElementType .TYPE , ElementType .METHOD })
54
53
@ Retention (RetentionPolicy .RUNTIME )
55
- @ Inherited
56
54
@ Documented
57
55
public @interface Lazy {
58
56
You can’t perform that action at this time.
0 commit comments