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:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newOnRegistrationCompleteEvent
. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
OnRegistrationCompleteEvent
Creates a newOnRegistrationCompleteEvent
.- Parameters:
user
- The user who has successfully registered.
-