Is there any way to prevent Ibatis from calling the init method of my
ManagedBean, when it creates a new bean for a ResultMap?

I only want to call the ManagedBean's init method when it is being
instantiated through MyFaces, NOT through Ibatis. The only solution I
thought of was, before the init method, to iterate through the stack trace
and skip over if it finds: 

at com.ibatis.common.beans.ClassInfo.instantiateClass

but execute if:

at org.apache.myfaces.shared_impl.util.ClassUtils.newInstance

but this seems a little clunky.....

any ideas?

thanks, Heather Buch
-- 
View this message in context: 
http://www.nabble.com/don%27t-call-Managed-Bean-init-method-tp18989735p18989735.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

Reply via email to