AnnotationConfigRegistry class abstract interface

Annotation-Based Configuration Registry

Provides an abstraction for scanning packages and registering annotated classes into an application context. This interface supports a typical workflow for dependency injection or configuration-driven frameworks where classes are discovered at runtime via annotations.

Implementors are responsible for:

  • Resolving classes from package names.
  • Handling lifecycle management of registered beans/pods.
  • Ensuring thread-safety and idempotence of registration.
Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerClass({List<Class<Object>>? classes, Class<Object>? mainClass}) Future<void>
Behavior
scan(List<String> basePackages) Future<void>
Scans the given base packages for annotated components
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited