The implementation of the
BaseControlMBean
interface. This abstract class provides the core functionality that all Flex control MBeans require.
Defining concrete implementations of getId()
and getType()
are left to subclasses, but this base class does provide access to the parent MBean for each instance. This class also implements the MBeanRegistration
interface, and it automatically stores a reference to the MBean server in each instance upon registration. Subclasses may choose to override none, any, or all of the methods defined by the MBeanRegistration
interface, but any overrides should be sure to invoke the overridden method with a call to their superclass.
The register()
method provides a simple and consistent way to register instances with the MBean server, and the getObjectName()
method gaurantees consistent, well-formed ObjectName
s for all MBean instances.
@author shodgson