I have to look further into it, to determine whether or not its a bug, 
or a design decision.  When writing ServiceMBeans and using the 
ServiceMBeanSupport class, there is a method that allows you to override 
the objectName (getObjectName).   This gets called inside the 
pre-register method.

I haven't tried this yet.  Also, at first round I was trying to just use 
JMX and avoid import org.jboss.etc...

I switched from MBean interfaces to JBoss's ServiceMBean stuff, and am 
utilizing some of its lifecycle calls now.

The one thing I suggest, whether its a bug or not, I don't think it 
should be mandatory to have the ObjectName attribute in the MBean 
declaration, since it can be set at runtime.

I'll look into the preRegister override and let you know if there is a 
bug and not just discrepencies in a design decision.

Thanks for all your time and help,

Mike

Scott M Stark wrote:
> How is that, a bug?
> 
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message ----- 
> From: "Michael Stanley" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 30, 2002 3:25 PM
> Subject: Re: [JBoss-user] MBean interfaces to EJBs
> 
> 
> 
>>>Then override the name in preRegister. Having to specify a name
>>>in the mbean service descriptor does not prevent this does it?
>>
>>Yup.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


-- 
<Mike/>




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to