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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
register(java.lang.Object bean, java.lang.String name)
Registers the specific MBean with the server.void
register(java.lang.Object bean, javax.management.ObjectName objectName)
Registers the specified MBean with the server.void
unregister(javax.management.ObjectName objectName)
Unregisters the specified MBean from the server.
-
-
-
Method Detail
-
register
void register(java.lang.Object bean, javax.management.ObjectName objectName)
Registers the specified MBean with the server.- Parameters:
bean
- the MBean instanceobjectName
- the name for the MBean
-
register
void register(java.lang.Object bean, java.lang.String name)
Registers the specific MBean with the server.- Parameters:
bean
- the MBean instancename
- string name used to create anObjectName
- Since:
- 5.3
-
unregister
void unregister(javax.management.ObjectName objectName)
Unregisters the specified MBean from the server.- Parameters:
objectName
- the name for the MBean
-
-