Yes, I was able to use ObjectName(":service=Container,jndiName=someName")
and the mbean shows up in the DefaultDomain.This is a dynamic mbean, not
a statically configured mbean coming from a jcml config.
----- Original Message -----
From: "David Jencks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 15, 2001 8:27 AM
Subject: Re: [JBoss-dev] Container.java
> Hi,
> Are you sure ObjectName(":service=Container,jndiName=someName") really can
> be used to register an mbean? normally the object name is actually set
from
> jboss.jcml which always seems to have DefaultDomain/JCA/whatever in the
> name. Although some mbeans have OBJECT_NAME constants lacking the domain
> (for instance ConnectionFactoryLoader) in my experience these cannot
> actually be used to register instances.
>
> I wonder if DefaultDomain is always appropriate? Seems to me that we
might
> want to put each applications' mbeans in its own domain????
>
> I think also you can get all mbeans in any domain with the desired
jndiname
> with
>
> ObjectName("*:service=Container,jndiName=somename").
>
> david jencks
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development