File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
spring-context/src/main/java/org/springframework/context/annotation Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2009 the original author or authors.
2+ * Copyright 2002-2012 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828 * created by the container before this bean. Used infrequently in cases where a bean
2929 * does not explicitly depend on another through properties or constructor arguments,
3030 * 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.
3331 *
3432 * <p>May be used on any class directly or indirectly annotated with
3533 * {@link org.springframework.stereotype.Component} or on methods annotated
4543 */
4644@ Target ({ElementType .TYPE , ElementType .METHOD })
4745@ Retention (RetentionPolicy .RUNTIME )
48- @ Inherited
4946@ Documented
5047public @interface DependsOn {
5148
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2009 the original author or authors.
2+ * Copyright 2002-2012 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2121import java .lang .annotation .Retention ;
2222import java .lang .annotation .RetentionPolicy ;
2323import java .lang .annotation .Target ;
24- import java .lang .annotation .Inherited ;
2524
2625/**
2726 * Indicates whether a bean is to be lazily initialized.
5251 */
5352@ Target ({ElementType .TYPE , ElementType .METHOD })
5453@ Retention (RetentionPolicy .RUNTIME )
55- @ Inherited
5654@ Documented
5755public @interface Lazy {
5856
You can’t perform that action at this time.
0 commit comments