as you could see push has action and actionListener attributes. so you could define the methods you need to be executed on event.
I have another question on a4j:push:
Is there any way to know on the server how long the client has stopped polling for pushes?
I would like to stop some quartz scheduled process in that case...
I thought about it:
What does push do? Check the queue. Can we see when a queue was last checked? No.