commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: [Modeler] Is Registry an MBean?
Date Sun, 15 Aug 2004 04:34:03 GMT
It is an MBean (in the sense that
mserver.createMBean("org.apache.modeler.Registry", oname) works), just  not
a very useful one.  There are too many bugs to try and use a Registry
created this way.  It's one of the things that make the current version of
c-m difficult to use in an embedded environment.

<random-thoughts>
It might be better to deprecate Registry.getRegistry and move the factory
methods into a separate RegistryFactory MBean.  It might even be good to add
a method taking an OName so that the Registry can be registered itself, or
that the Factory can return the Registry by name.
</random-thoughts>


"Vikram Goyal" <tech@craftbits.com> wrote in message
news:000c01c481f9$2ce966b0$493e32d2@vikram...
Hello,

The documentation for Modeler says that Registry itself is an MBean.
However, it does not come up in the list of MBeans for the default domain
and more importantly, I could not find it being registered with the
MBeanServer anywhere in the source code. If the documentation incorrect in
this regard?

Thanks,
Vikram




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message