flex.management
Class ManageableComponent

java.lang.Object
  extended byflex.management.ManageableComponent
All Implemented Interfaces:
Manageable
Direct Known Subclasses:
flex.messaging.services.AbstractService, Destination, MessageBroker, ServiceAdapter

public class ManageableComponent
extends Object
implements Manageable

The base implementation of the Manageable interface.


Constructor Summary
ManageableComponent(boolean enableManagement)
          Constructs a ManageableComponent instance, specifying whether to enable management.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManageableComponent

public ManageableComponent(boolean enableManagement)
Constructs a ManageableComponent instance, specifying whether to enable management.

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

isManaged

public boolean isManaged()
Description copied from interface: Manageable
Returns true if the component is enabled for management.

Specified by:
isManaged in interface Manageable
Returns:
true if the component is enabled for management.

setManaged

public void setManaged(boolean enableManagement)
Description copied from interface: Manageable
Enables or disables management for the component.

Specified by:
setManaged in interface Manageable
Parameters:
enableManagement - true to enable management, false to disable management.

getControl

public BaseControl getControl()
Description copied from interface: Manageable
Returns the control MBean used to manage the component.

Specified by:
getControl in interface Manageable
Returns:
The control MBean used to manage the component.

setControl

public void setControl(BaseControl control)
Description copied from interface: Manageable
Set the control MBean used to manage the component.

Specified by:
setControl in interface Manageable
Parameters:
control - The BaseControl MBean used to manage the component.


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