Interface ApplicationIdStore

    • Method Detail

      • getAppIds

        Set<ApplicationId> getAppIds()
        Returns the set of currently registered application identifiers.
        Returns:
        set of application ids
      • getAppId

        ApplicationId getAppId​(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​(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​(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