Hi Geeks

SORRY that I bring up this discussion but during the implementation
of JSR-77 I ran into a problem with the current drop of init() and
destroy().

Right now the life-cycle is:
- create of the MBean
- set attributes
- call start()
-----
- call stop()

But with JSR-77 I need to create the JSR-77 shadow MBean when
the MBean is created BUT AFTER the attributes are set. On the
other hand I cannot add the creation/destory of the JSR-77 MBean
to start()/stop() because then I would lose the JSR-77 MBean when
it is stopped (also from JSR-77).

Long story short. I need init() as well as destroy() to have a callback
when the object is ready to create the JSR-77 MBean (all attributes
are set) as well as to know when the object is destroyed and not just
stopped).

xxxxxxxxxxxxxxxxx
Andreas Schaefer
Senior Consultant
JBoss Group, LLC
xxxxxxxxxxxxxxxxx



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to