In the Spring and JEE6 application, the RevisionListner is not managed by Spring or CDI, I can not use @autowired or @Inject in the Listener class.
if I want to store some extra info in the rev table.Is there good solution to implement this?
Thanks.
I think what people usually do is pass the info through a thread local.
Don't know about Spring, but in Seam/CDI you can also do a static lookup of beans that are bound to the current request.
Adam