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(Object bean, String name)
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 Detail
-
register
void register(Object bean, ObjectName objectName)
Registers the specified MBean with the server.- Parameters:
bean
- the MBean instanceobjectName
- the name for the MBean
-
register
void register(Object bean, 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(ObjectName objectName)
Unregisters the specified MBean from the server.- Parameters:
objectName
- the name for the MBean
-
-