Example usage for org.springframework.beans.factory SmartInitializingSingleton afterSingletonsInstantiated

List of usage examples for org.springframework.beans.factory SmartInitializingSingleton afterSingletonsInstantiated

Introduction

In this page you can find the example usage for org.springframework.beans.factory SmartInitializingSingleton afterSingletonsInstantiated.

Prototype

void afterSingletonsInstantiated();

Source Link

Document

Invoked right at the end of the singleton pre-instantiation phase, with a guarantee that all regular singleton beans have been created already.

Usage

From source file:org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor.java

@Override
public void afterSingletonsInstantiated() {
    for (SmartInitializingSingleton singleton : smartSingletons) {
        singleton.afterSingletonsInstantiated();
    }//from  ww w  . j  av  a2s  . c o  m
}