Spring Data Commons

org.springframework.data.repository.core.support
Interface RepositoryFactoryInformation<T,ID extends Serializable>

All Known Implementing Classes:
RepositoryFactoryBeanSupport, TransactionalRepositoryFactoryBeanSupport

public interface RepositoryFactoryInformation<T,ID extends Serializable>

Interface for components that can provide meta-information about a repository factory, the backing EntityInformation and RepositoryInformation as well as the QueryMethods exposed by the repository.

Author:
Oliver Gierke

Method Summary
 EntityInformation<T,ID> getEntityInformation()
          Returns EntityInformation the repository factory is using.
 List<QueryMethod> getQueryMethods()
          Returns all QueryMethods declared for that repository.
 RepositoryInformation getRepositoryInformation()
          Returns the RepositoryInformation to determine meta-information about the repository being used.
 

Method Detail

getEntityInformation

EntityInformation<T,ID> getEntityInformation()
Returns EntityInformation the repository factory is using.

Returns:

getRepositoryInformation

RepositoryInformation getRepositoryInformation()
Returns the RepositoryInformation to determine meta-information about the repository being used.

Returns:

getQueryMethods

List<QueryMethod> getQueryMethods()
Returns all QueryMethods declared for that repository.

Returns:

Spring Data Commons

Copyright © 2012. All Rights Reserved.