Yes, this is almost an exact copy of the table from two pages back, so don’t go there. Try to think through these listeners and put down your best guess. You can expect at least two, and as many as four questions on the exam about session listeners. Use both your memory and common sense to fill this out.
Sharpen your pencil
Scenario | Listener interface/methods | Event type | Usually implemented by |
---|---|---|---|
You want to know when a session is created. | |||
An attribute wants to know when it has been moved into a new VM. | |||
An attribute wants to know when it has been replaced in a session. | |||
You want to be notified whenever anything is bound to a session. |