|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.management.ManageableComponent
public abstract class ManageableComponent
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. |
String |
getId()
Returns the id of the ManageableComponent. |
Manageable |
getParent()
Returns the parent of the component. |
void |
initialize(String id,
ConfigMap properties)
Initializes the ManageableComponent with the properties. |
boolean |
isManaged()
Returns true if the component is enabled for management. |
boolean |
isStarted()
Returns if the component is started or not. |
boolean |
isValid()
Returns if the component is valid. |
void |
setControl(BaseControl control)
Set the control MBean used to manage the component. |
void |
setId(String id)
Sets the id of the ManageableComponent. |
void |
setManaged(boolean enableManagement)
Enables or disables management for the component. |
void |
setParent(Manageable parent)
Sets the parent of the component. |
void |
start()
Validates and starts the component. |
void |
stop()
Invalidates and stops the component. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManageableComponent(boolean enableManagement)
ManageableComponent instance, specifying
whether to enable management.
enableManagement - true to enable management, false to disable
management.| Method Detail |
|---|
public void initialize(String id,
ConfigMap properties)
ManageableComponent with the properties.
This base implementation simply calls setId with the provided
id. Subclasses should call super.initialize.
initialize in interface FlexConfigurableid - Id of the ManageableComponent.properties - Properties for the AbstractService.public void start()
super.start().
start in interface FlexComponentpublic void stop()
super.stop().
stop in interface FlexComponentpublic BaseControl getControl()
Manageable
getControl in interface Manageablepublic void setControl(BaseControl control)
Manageable
setControl in interface Manageablecontrol - The BaseControl MBean used to manage the component.public String getId()
ManageableComponent.
ManageableComponent.public void setId(String id)
ManageableComponent. The id cannot be
null and it cannot be changed after the startup.
id - The id of the ManageableComponent.public boolean isManaged()
Manageabletrue if the component is enabled for management.
isManaged in interface Manageabletrue if the component is enabled for management.public void setManaged(boolean enableManagement)
true if the parent of the component is not managed.
setManaged in interface ManageableenableManagement - true to enable management, false to disable management.public boolean isStarted()
isStarted in interface FlexComponenttrue if the component is started.public boolean isValid()
true if the component is valid.public Manageable getParent()
public void setParent(Manageable parent)
parent - The parent of the component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/management/ManageableComponent.html