You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An event driven mechanism based on observer mode is provided to achieve decoupled communication between internal components of an application. It allows different components to communicate with each other through publishing and subscribing to events without directly referencing or understanding each other's specific implementations
like this in Java Spring
Publisher:
context.PublishEvent(xxxxx);
Listener:
public void onApplicationEvent(DemoEvent demoEvent) {
System.out.println(">>>>>>>>>>>>>>>>>>>>DemoListener2>>>>>>>>>>>>>>>>>");
}
Describe alternatives you've considered
m
Additional
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Option Yes
Describe the solution you'd like
An event driven mechanism based on observer mode is provided to achieve decoupled communication between internal components of an application. It allows different components to communicate with each other through publishing and subscribing to events without directly referencing or understanding each other's specific implementations
like this in Java Spring
Publisher:
context.PublishEvent(xxxxx);
Listener:
public void onApplicationEvent(DemoEvent demoEvent) {
System.out.println(">>>>>>>>>>>>>>>>>>>>DemoListener2>>>>>>>>>>>>>>>>>");
}
Describe alternatives you've considered
m
Additional
No response
The text was updated successfully, but these errors were encountered: