Package org.onosproject.rest
Class AbstractApiDocRegistrator
- java.lang.Object
-
- org.onosproject.rest.AbstractApiDocRegistrator
-
public abstract class AbstractApiDocRegistrator extends java.lang.Object
Self-registering REST API provider.
-
-
Field Summary
Fields Modifier and Type Field Description protected ApiDocProvider
provider
protected ApiDocService
service
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractApiDocRegistrator(ApiDocProvider provider)
Creates registrator for the specified REST API doc provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate()
protected void
deactivate()
-
-
-
Field Detail
-
provider
protected final ApiDocProvider provider
-
service
protected ApiDocService service
-
-
Constructor Detail
-
AbstractApiDocRegistrator
protected AbstractApiDocRegistrator(ApiDocProvider provider)
Creates registrator for the specified REST API doc provider.- Parameters:
provider
- REST API provider
-
-