Hi all,

  Just thought of another (better?) option.  Leave the registry as a MMB
with the default NullPersistenceManager.  Then persist using an internal
mechanism (this is what the Dynamic MB would do anyway).

  - Matt

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matt
Munz
Sent: Friday, October 04, 2002 1:39 PM
To: JBoss Developers Group
Subject: [JBoss-dev] Why is the MB Registry a MMB?


Juha & JMX-dev,

  Why is the MB Registry a MMB?  Could it be a Dynamic MB instead?  I'm
running into a chicken-and-egg problem.  The persistence interceptor
instantiated in preRegister() for the MB REgistry MMB tries to create a
Timer MB.  This requires that the MB registry MMB has already been
registered, which of cousre, it hasn't.

  Since the MB Registry needs a custom persistence manager anyway, perhaps
it could handle its own persistence internally?

  An alternative to this would be to modify the persistence interceptor so
that it does not use the Timer MB in this special case.

  Either way, let me know your preference/ideas.

  - Matt



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to