com.trendmicro.grid.acl.ds
Interface RepositorySelectorsRepository

All Known Implementing Classes:
RepositoriesContext

public interface RepositorySelectorsRepository

Defines a repository of RepositorySelector instances.

Version:
1.0
Author:
juergen_kellerer, 2010-05-07

Method Summary
<R extends Repository>
RepositorySelector<R>
getSelector(Class<R> repositoryClass)
          Returns a repository selector for the given class.
 

Method Detail

getSelector

<R extends Repository> RepositorySelector<R> getSelector(Class<R> repositoryClass)
Returns a repository selector for the given class.

Type Parameters:
R - the type of repository interface to return.
Parameters:
repositoryClass - the repository interface of the selector to return.
Returns:
a selector for the given class, returns an empty selector instance if no selector exists for a given repository.