Package org.onosproject.component
Interface ComponentService
-
public interface ComponentService
Service for managing the components in the system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
activate(ApplicationId appId, String name)
Activates the component identified by the given name.void
deactivate(ApplicationId appId, String name)
Deactivates the component identified by the given name.
-
-
-
Method Detail
-
activate
void activate(ApplicationId appId, String name)
Activates the component identified by the given name. If the component is not currently available, it will be activated when it becomes available.- Parameters:
appId
- application ID of the requesting applicationname
- fully-qualified name of the component to activate
-
deactivate
void deactivate(ApplicationId appId, String name)
Deactivates the component identified by the given name.- Parameters:
appId
- application ID of the requesting applicationname
- fully-qualified name of the component to deactivate
-
-