Currently, when an interceptor is configured, the MBean is looked up and its state is checked and if "ready" is registered with the SessionContext; if not ready, a listener is registered to wait for it to become ready (the listener trhown away afterwards). We know we also need to add support for ongoing "state changes".
Now really the only events we really care about are 1) a SessionFactory being (re)built; 2) SessionFactory being destroyed. Essentially I am thinking of changing the logic that looks at the MBean's state and instead make it driven by typed events (i.e., SessionFactoryBuiltEvent and SessionFactoryDestroyedEvent). Thouoghts? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845775#3845775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845775 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
