[jboss-user] [JBoss Seam] - injected objects don't get passivated - or do they ?

codelion do-not-reply at jboss.com
Wed Jun 13 10:30:54 EDT 2007


Some objects live a long time, e.g. application scoped components, EJBs with timers, and I guess MDBs.

Now if there is an @In, will that object that's been injected be passivated ever, sometimes, or never?

As passivation occurs only outside a business method call (right?) there shouldn't be a need for anything to be in that field, it could/should be null.

But does it get cleared to null?  On exit of the business method call?  Or can it sometimes not be null?  E.g. in case of some specific kind of exception?

I think it would be desirable for those injected fields not being passivated ever.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054003#4054003

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054003



More information about the jboss-user mailing list