@Service
public class SimpleApplicationStore
extends org.onosproject.common.app.ApplicationArchive
implements org.onosproject.app.ApplicationStore
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.ApplicationIdStore |
idStore |
| Constructor and Description |
|---|
SimpleApplicationStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
activate(org.onosproject.core.ApplicationId appId) |
org.onosproject.core.Application |
create(InputStream appDescStream) |
void |
deactivate() |
void |
deactivate(org.onosproject.core.ApplicationId appId) |
org.onosproject.core.Application |
getApplication(org.onosproject.core.ApplicationId appId) |
Set<org.onosproject.core.Application> |
getApplications() |
org.onosproject.core.ApplicationId |
getId(String name) |
Set<org.onosproject.core.Permission> |
getPermissions(org.onosproject.core.ApplicationId appId) |
org.onosproject.app.ApplicationState |
getState(org.onosproject.core.ApplicationId appId) |
void |
remove(org.onosproject.core.ApplicationId appId) |
void |
setPermissions(org.onosproject.core.ApplicationId appId,
Set<org.onosproject.core.Permission> permissions) |
clearActive, getApplicationDescription, getApplicationInputStream, getApplicationNames, getRole, getRootPath, getUpdateTime, isActive, purgeApplication, saveApplication, setActive, setRootPath, updateTimehasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.ApplicationIdStore idStore
@Activate public void activate()
@Deactivate public void deactivate()
public Set<org.onosproject.core.Application> getApplications()
getApplications in interface org.onosproject.app.ApplicationStorepublic org.onosproject.core.ApplicationId getId(String name)
getId in interface org.onosproject.app.ApplicationStorepublic org.onosproject.core.Application getApplication(org.onosproject.core.ApplicationId appId)
getApplication in interface org.onosproject.app.ApplicationStorepublic org.onosproject.app.ApplicationState getState(org.onosproject.core.ApplicationId appId)
getState in interface org.onosproject.app.ApplicationStorepublic org.onosproject.core.Application create(InputStream appDescStream)
create in interface org.onosproject.app.ApplicationStorepublic void remove(org.onosproject.core.ApplicationId appId)
remove in interface org.onosproject.app.ApplicationStorepublic void activate(org.onosproject.core.ApplicationId appId)
activate in interface org.onosproject.app.ApplicationStorepublic void deactivate(org.onosproject.core.ApplicationId appId)
deactivate in interface org.onosproject.app.ApplicationStorepublic Set<org.onosproject.core.Permission> getPermissions(org.onosproject.core.ApplicationId appId)
getPermissions in interface org.onosproject.app.ApplicationStorepublic void setPermissions(org.onosproject.core.ApplicationId appId,
Set<org.onosproject.core.Permission> permissions)
setPermissions in interface org.onosproject.app.ApplicationStoreCopyright © 2015. All rights reserved.