ComponentContext.disableComponent(String)
method by first finding the component(s) for the name
and disabling them. The disable method will schedule deactivation
@param name The name of the component to disable or null
todisable all components.
If the specified component description is currently disabled, this method has no effect.
This method must return after changing the enabled state of the specified component description. Any actions that result from this, such as activating or deactivating a component configuration, must occur asynchronously to this method call. @param description The component description to disable. Must not be{@code null}. @return A promise that will be resolved when the actions that result fromchanging the enabled state of the specified component have completed. @see #isComponentEnabled(ComponentDescriptionDTO)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|