Package org.apache.axis2.transport.base
Class TransportMBeanSupport
- java.lang.Object
-
- org.apache.axis2.transport.base.TransportMBeanSupport
-
public class TransportMBeanSupport extends Object
Support class to register MBeans for transport listeners and senders. This class can be used byTransportListener
andTransportSender
classes to register theTransportView
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 Summary
Constructors Constructor Description TransportMBeanSupport(TransportListener listener, String name)
TransportMBeanSupport(TransportSender sender, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectName
getMBeanName()
void
register()
Register theTransportView
MBean.void
unregister()
Unregister theTransportView
MBean.
-
-
-
Constructor Detail
-
TransportMBeanSupport
public TransportMBeanSupport(TransportListener listener, String name)
-
TransportMBeanSupport
public TransportMBeanSupport(TransportSender sender, String name)
-
-
Method Detail
-
getMBeanName
public ObjectName getMBeanName()
-
register
public void register()
Register theTransportView
MBean.
-
unregister
public void unregister()
Unregister theTransportView
MBean.
-
-