[jboss-user] [EJB 3.0] - Consumer Lifecycle?
plexiq
do-not-reply at jboss.com
Thu Oct 12 07:54:11 EDT 2006
Hi,
im really sorry if this is some "newbie"-question, but after 2h+ of searching im pretty sure its not explained anywhere in the trails/faq/etc. (Maybe im just lacking some background knowledge, donno)
Im using Message Driven POJO's as explained in this trail:
http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdpojo/
I have figured out that "@PostConstruct" allows you to place init-code on a Consumer, and this works fine so far.
But whats the "Destroy"-equivalent, to clean up?
@PreDestroy
and
@Remove
Both dont work.
Thanks,
Helmuth
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977854#3977854
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977854
More information about the jboss-user
mailing list