flex.management
Interface Manageable

All Known Subinterfaces:
Service
All Known Implementing Classes:
flex.messaging.services.AbstractService, ManageableComponent

public interface Manageable

Manageability of a class is enabled by implementing this interface. The specific level of manageability is defined by the relationship between a manageable component and its corresponding control.


Method Summary
 BaseControl getControl()
          Returns the control MBean used to manage the component.
 boolean isManaged()
          Returns true if the component is enabled for management.
 void setControl(BaseControl control)
          Set the control MBean used to manage the component.
 void setManaged(boolean enableManagement)
          Enables or disables management for the component.
 

Method Detail

isManaged

public boolean isManaged()
Returns true if the component is enabled for management.

Returns:
true if the component is enabled for management.

setManaged

public void setManaged(boolean enableManagement)
Enables or disables management for the component.

Parameters:
enableManagement - true to enable management, false to disable management.

getControl

public BaseControl getControl()
Returns the control MBean used to manage the component.

Returns:
The control MBean used to manage the component.

setControl

public void setControl(BaseControl control)
Set the control MBean used to manage the component.

Parameters:
control - The BaseControl MBean used to manage the component.


Copyright © 2006 Adobe Systems Inc. All Rights Reserved. (Updated August 2, 2006)