Class OnRegistrationCompleteEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.example.crmedu.application.event.OnRegistrationCompleteEvent
All Implemented Interfaces:
Serializable

public class OnRegistrationCompleteEvent extends org.springframework.context.ApplicationEvent
Event triggered upon successful completion of a user registration process.

This event is published when a new user completes the registration process, allowing event listeners to perform additional actions, such as sending a confirmation email or setting up default user preferences.

The event carries the registered User object, which can be accessed by event listeners to retrieve user-related information.

See Also:
  • Constructor Details

    • OnRegistrationCompleteEvent

      public OnRegistrationCompleteEvent(User user)
      Creates a new OnRegistrationCompleteEvent.
      Parameters:
      user - The user who has successfully registered.