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 Summary

    Modifier and Type
    Method
    Description
    create(String orgName, String name)
    Create a new IdRepo.
  • Method Details

    • create

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