Interface ApplicationIdStore

    • 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