1 package com.trendmicro.grid.acl.ds; 2 3 /** 4 * Defines a repository of RepositorySelector instances. 5 * 6 * @author juergen_kellerer, 2010-05-07 7 * @version 1.0 8 */ 9 public interface RepositorySelectorsRepository { 10 11 /** 12 * Returns a repository selector for the given class. 13 * 14 * @param repositoryClass the repository interface of the selector to return. 15 * @param <R> the type of repository interface to return. 16 * @return a selector for the given class, returns an empty selector instance 17 * if no selector exists for a given repository. 18 */ 19 public <R extends Repository> RepositorySelector<R> getSelector(Class<R> repositoryClass); 20 }