public interface ApplicationIdStore
Modifier and Type | Method and Description |
---|---|
ApplicationId |
getAppId(java.lang.Short id)
Returns an existing application id from a given id.
|
ApplicationId |
getAppId(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.
|
ApplicationId |
registerApplication(java.lang.String identifier)
Registers a new application by its name, which is expected
to follow the reverse DNS convention, e.g.
|
java.util.Set<ApplicationId> getAppIds()
ApplicationId getAppId(java.lang.Short id)
id
- the short value of the idApplicationId getAppId(java.lang.String name)
name
- application nameApplicationId registerApplication(java.lang.String identifier)
org.flying.circus.app
identifier
- string identifier