# AnnotationConfigApplicationContext.all constructor

AnnotationConfigApplicationContext.all(

1. ApplicationContext? parent,
2. DefaultListablePodFactory? podFactory

)

Creates a new AnnotationConfigApplicationContext with a parent context and optional pod factory.

This constructor allows creating a hierarchical context structure where this context can delegate to a parent context for dependency resolution.

`parent` the parent application context for hierarchical resolution `podFactory` optional custom pod factory instance

Example:

    final parentContext = GenericApplicationContext();
    final childContext = AnnotationConfigApplicationContext.all(parentContext, null);

## Implementation

    AnnotationConfigApplicationContext.all(ApplicationContext? parent, DefaultListablePodFactory? podFactory) : super.all(parent, podFactory) {
      _reader = AnnotatedPodDefinitionReader();
      _uuid = Uuid.randomUuid();
    }