Interface IdRepoFactory<T extends IdRepo>

  • Type Parameters:
    T - the type of IdRepo to create

    @SupportedAll
    public interface IdRepoFactory<T extends IdRepo>
    Factory interface for creating instances of IdRepo. A sub-interface of this should be created and registered to the guice context for each subclass of IdRepo that is created.
    • Method Detail

      • create

        T create​(String orgName)
        Create a new IdRepo.
        Parameters:
        orgName - the realm containing the IdRepo implementation
        Returns:
        a new instance of IdRepo