Package org.onosproject.component
Interface ComponentService
-
public interface ComponentServiceService for managing the components in the system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidactivate(ApplicationId appId, java.lang.String name)Activates the component identified by the given name.voiddeactivate(ApplicationId appId, java.lang.String name)Deactivates the component identified by the given name.
-
-
-
Method Detail
-
activate
void activate(ApplicationId appId, java.lang.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, java.lang.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
-
-