Package org.apache.tapestry5.jmx
Interface MBeanSupport
- All Known Implementing Classes:
MBeanSupportImpl
public interface MBeanSupport
Creates an MBean server and registers MBeans with the created server. The registered MBeans are unregistered when
Registry is shut down.
- Since:
- 5.2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Registers the specific MBean with the server.void
register
(Object bean, ObjectName objectName) Registers the specified MBean with the server.void
unregister
(ObjectName objectName) Unregisters the specified MBean from the server.
-
Method Details
-
register
Registers the specified MBean with the server.- Parameters:
bean
- the MBean instanceobjectName
- the name for the MBean
-
register
Registers the specific MBean with the server.- Parameters:
bean
- the MBean instancename
- string name used to create anObjectName
- Since:
- 5.3
-
unregister
Unregisters the specified MBean from the server.- Parameters:
objectName
- the name for the MBean
-