The depends-on attribute in the bean definition can specify both an initialization time dependency and, in the case of singleton beans only, a corresponding > destroy time dependency. Dependent beans that define a depends-on relationship with a given bean are destroyed first, prior to the given bean itself being ?> > destroyed. Thus depends-on can also control shutdown order.