public class TransportMBeanSupport extends Object
TransportListener
and TransportSender
classes
to register the TransportView
management bean. It takes care of registering
the bean under a consistent name and makes sure that a JMX related error doesn't stop
the transport from working: a failure to register the MBean will cause JMX support
to be disabled.Constructor and Description |
---|
TransportMBeanSupport(TransportListener listener,
String name) |
TransportMBeanSupport(TransportSender sender,
String name) |
Modifier and Type | Method and Description |
---|---|
ObjectName |
getMBeanName() |
void |
register()
Register the
TransportView MBean. |
void |
unregister()
Unregister the
TransportView MBean. |
public TransportMBeanSupport(TransportListener listener, String name)
public TransportMBeanSupport(TransportSender sender, String name)
public ObjectName getMBeanName()
public void register()
TransportView
MBean.public void unregister()
TransportView
MBean.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.