@Service public class CoreManager extends Object implements org.onosproject.core.CoreService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.ApplicationIdStore |
applicationIdStore |
protected org.onosproject.app.ApplicationService |
appService |
protected org.onosproject.cfg.ComponentConfigService |
cfgService |
protected org.onosproject.event.EventDeliveryService |
eventDeliveryService |
protected org.onosproject.core.IdBlockStore |
idBlockStore |
protected org.onlab.metrics.MetricsService |
metricsService |
| Constructor and Description |
|---|
CoreManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
protected void |
deactivate() |
org.onosproject.core.ApplicationId |
getAppId(Short id) |
org.onosproject.core.ApplicationId |
getAppId(String name) |
Set<org.onosproject.core.ApplicationId> |
getAppIds() |
org.onosproject.core.IdGenerator |
getIdGenerator(String topic) |
protected void |
modified(org.osgi.service.component.ComponentContext context) |
org.onosproject.core.ApplicationId |
registerApplication(String name) |
org.onosproject.core.ApplicationId |
registerApplication(String name,
Runnable preDeactivate) |
org.onosproject.core.Version |
version() |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.ApplicationIdStore applicationIdStore
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.IdBlockStore idBlockStore
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.app.ApplicationService appService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService cfgService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.event.EventDeliveryService eventDeliveryService
@Reference(cardinality=MANDATORY_UNARY) protected org.onlab.metrics.MetricsService metricsService
@Activate protected void activate()
@Deactivate protected void deactivate()
public org.onosproject.core.Version version()
version in interface org.onosproject.core.CoreServicepublic Set<org.onosproject.core.ApplicationId> getAppIds()
getAppIds in interface org.onosproject.core.CoreServicepublic org.onosproject.core.ApplicationId getAppId(Short id)
getAppId in interface org.onosproject.core.CoreServicepublic org.onosproject.core.ApplicationId getAppId(String name)
getAppId in interface org.onosproject.core.CoreServicepublic org.onosproject.core.ApplicationId registerApplication(String name)
registerApplication in interface org.onosproject.core.CoreServicepublic org.onosproject.core.ApplicationId registerApplication(String name, Runnable preDeactivate)
registerApplication in interface org.onosproject.core.CoreServicepublic org.onosproject.core.IdGenerator getIdGenerator(String topic)
getIdGenerator in interface org.onosproject.core.CoreService@Modified protected void modified(org.osgi.service.component.ComponentContext context)