@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DependsOn
The container ensures that all singleton beans with which a
singleton has a DependsOn
relationship have been
initialized before the singleton's PostConstruct
method is called.
During application shutdown the container ensures that all singleton beans on
with which the singleton has a DependsOn
relationship are still
available during the singleton's PreDestroy
method.
public abstract String[] value
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.