finishPodFactoryInitialization method

  1. @protected
Future<void> finishPodFactoryInitialization()

Finalizes the initialization of the ConfigurableListablePodFactory.

This step sets up the lifecycle processor and pre-instantiates all non-lazy singleton pods.

This is part of Jetleaf – a framework which developers can use to build web applications.

Implementation

@protected
Future<void> finishPodFactoryInitialization() async {
  // Initialize lifecycle processor
  await initLifecycleProcessor();

  // Instantiate all remaining non-lazy-init singletons
  await preInstantiateSingletons();

  return Future.value();
}