doGetFreshPodFactory abstract method

  1. @protected
Future<ConfigurableListablePodFactory> doGetFreshPodFactory()

Returns a fresh ConfigurableListablePodFactory for this context.

Subclasses must implement this to provide a new factory instance whenever the context is refreshed.

Example:

@override
Future<ConfigurableListablePodFactory> doGetFreshPodFactory() async {
return DefaultListablePodFactory();
}

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

Implementation

@protected
Future<ConfigurableListablePodFactory> doGetFreshPodFactory();