AMX MBeans look like this for now:
amx:j2eeType=X-EngineConfig,name=security,X-ApplicationConfig=hello1
amx:j2eeType=X-EngineConfig,name=web,X-ApplicationConfig=hello1
The "sniffer" attribute can be used as the unique ID, but I'm not sure
that it's unique...?
It is preferable to have a name or id.
Lloyd
On Mar 20, 2008, at 6:43 PM, Lloyd L Chambers wrote:
> Hong,
>
> I see that the <engine> element has no "id" or "name". This causes
> a headache for MBeans; a unique ObjectName can't be generated that
> way. All MBeans to date are either singletons within their scope,
> or have a "name" or "id" or other primary key.
>
> Could we please add a name field?
>
>
> For now I can force the unique id to be the value of "sniffer", but
> that's a hack.
>
>
> Lloyd
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc