org.as2lib.core.BasicClass +--org.as2lib.env.event.broadcaster.SimpleEventInfo
EventInfo
SimpleEventInfo
lets you dynamically set the name of the event.
Use this dynamic behavior only if it really adds any value. Creating a new
EventInfo
implementation that returns always the same name (immutable)
for one specific listener is much cleaner. You then also only have to change the
name of the event once in your EventInfo
implementation if you change
the event method name on the listener.