Package org.onosproject.app
Interface ApplicationIdStore
- 
- All Known Implementing Classes:
 ApplicationIdStoreAdapter
public interface ApplicationIdStoreManages application IDs. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApplicationIdgetAppId(java.lang.Short id)Returns an existing application id from a given id.ApplicationIdgetAppId(java.lang.String name)Returns registered application id from the given name.java.util.Set<ApplicationId>getAppIds()Returns the set of currently registered application identifiers.ApplicationIdregisterApplication(java.lang.String identifier)Registers a new application by its name, which is expected to follow the reverse DNS convention, e.g. 
 - 
 
- 
- 
Method Detail
- 
getAppIds
java.util.Set<ApplicationId> getAppIds()
Returns the set of currently registered application identifiers.- Returns:
 - set of application ids
 
 
- 
getAppId
ApplicationId getAppId(java.lang.Short id)
Returns an existing application id from a given id.- Parameters:
 id- the short value of the id- Returns:
 - an application id; null if no such app registered
 
 
- 
getAppId
ApplicationId getAppId(java.lang.String name)
Returns registered application id from the given name.- Parameters:
 name- application name- Returns:
 - an application id; null if no such app registered
 
 
- 
registerApplication
ApplicationId registerApplication(java.lang.String identifier)
Registers a new application by its name, which is expected to follow the reverse DNS convention, e.g.org.flying.circus.app- Parameters:
 identifier- string identifier- Returns:
 - the application id
 
 
 - 
 
 -