Hi all,
I would like to observe when the application is about to shutdown. I thought this code block would work, but it never catches that event.
My component is an event scoped component, I only want it to live for the scope of that event.
@Observer("org.jboss.seam.preDestroyContext.APPLICATION")
@Transactional
public void onShutdown()
{
...
}
Is this possible in the current design of Seam? If not, should this be a feature request or are there other inherit problems with this idea?
Walter