# ContextRefreshedEvent class

Event published when the ApplicationContext is refreshed or initialized.

This event is emitted after the application context has been fully configured, all singleton pods have been instantiated, and the context is ready for use.

Listeners may use this event to perform actions once the application is fully bootstrapped, such as triggering cache population, running scheduled tasks, or initializing external services.

### Example:

    class StartupInitializer implements ApplicationListener<ContextRefreshedEvent> {
      @override
      void onApplicationEvent(ContextRefreshedEvent event) {
        print("Context has been refreshed: ${event.getSource()}");
      }
    }

This is usually the first lifecycle event emitted by the framework during startup.

Inheritance
  - Object
  - EventObject
  - ApplicationEvent
  - ApplicationContextEvent
  - ContextRefreshedEvent

## Constructors

ContextRefreshedEvent.new(ApplicationContext source)
  Event published when the ApplicationContext is refreshed or initialized.
ContextRefreshedEvent.withClock(ApplicationContext source, DateTime clock())
  Event published when the ApplicationContext is refreshed or initialized.

## Properties

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

## Methods

equalizedProperties() → List<Object?>
  Mixin-style contract for value-based equality, `hashCode`, and `toString`.
  inherited
getApplicationContext() → ApplicationContext
  Returns the ApplicationContext that triggered this event.
  inherited
getPackageName() → String
  Represents an abstraction for identifying the package that an object, resource, or service belongs to.
  override
getSource() → ApplicationContext
  Returns the ApplicationContext that published this event.
  inherited
getTimestamp() → DateTime
  Returns the timestamp of the event.
  inherited
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
toString() → String
  A string representation of this object.
  inherited
toStringOptions() → ToStringOptions
  inherited

## Operators

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