Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-1
-
Component/s: None
-
Labels:None
-
Environment:MX4J 1.1.1
-
Number of attachments :
Description
Here's what I'm trying to do before I explain why I need access to the ObjectName:
I am attempting to add a JMX NotificationListener to a TimerMBean that has been registered in JXM via NanoMX. But to add a NotificationListener, I need to have the ObjectName of the TimerMBean like this:
mBeanServer.addNotificationListener(
timerObjectName, listener, filter, null);
Currently, it doesn't look like I can cleanly access the generated JMX
ObjectName for the Timer. My temporary fix on my local source was to make NanoMXContainer#asObjectName public. That would be an acceptable solution to me for the CVS as well.
Thanks!
Activity
Aslak Hellesøy
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Unassigned [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.0-alpha-1 [ 10146 ] | |
Resolution | Fixed [ 1 ] |
Fixed. The (static) method is now on the adapter