Spring Data Commons

org.springframework.data.repository.config
Interface RepositoryConfiguration<T extends RepositoryConfigurationSource>

All Known Implementing Classes:
DefaultRepositoryConfiguration

public interface RepositoryConfiguration<T extends RepositoryConfigurationSource>

Configuration information for a single repository instance.

Author:
Oliver Gierke

Method Summary
 Iterable<String> getBasePackages()
          Returns the base packages that the repository was scanned under.
 String getBeanId()
          Returns the id of the BeanDefinition the repository shall be registered under.
 T getConfigurationSource()
          Returns the RepositoryConfigurationSource that backs the RepositoryConfiguration.
 String getImplementationBeanName()
          Returns the bean name of the custom implementation.
 String getImplementationClassName()
          Returns the class name of the custom implementation.
 String getNamedQueriesLocation()
          Returns the location of the file containing Spring Data named queries.
 Object getQueryLookupStrategyKey()
          Returns the key to resolve a QueryLookupStrategy from eventually.
 String getRepositoryFactoryBeanName()
          Returns the name of the FactoryBean class to be used to create repository instances.
 String getRepositoryInterface()
          Returns the interface name of the repository.
 Object getSource()
          Returns the source of the RepositoryConfiguration.
 

Method Detail

getBeanId

String getBeanId()
Returns the id of the BeanDefinition the repository shall be registered under.

Returns:

getBasePackages

Iterable<String> getBasePackages()
Returns the base packages that the repository was scanned under.

Returns:

getRepositoryInterface

String getRepositoryInterface()
Returns the interface name of the repository.

Returns:

getQueryLookupStrategyKey

Object getQueryLookupStrategyKey()
Returns the key to resolve a QueryLookupStrategy from eventually.

Returns:
See Also:
QueryLookupStrategy.Key

getNamedQueriesLocation

String getNamedQueriesLocation()
Returns the location of the file containing Spring Data named queries.

Returns:

getImplementationClassName

String getImplementationClassName()
Returns the class name of the custom implementation.

Returns:

getImplementationBeanName

String getImplementationBeanName()
Returns the bean name of the custom implementation.

Returns:

getRepositoryFactoryBeanName

String getRepositoryFactoryBeanName()
Returns the name of the FactoryBean class to be used to create repository instances.

Returns:

getSource

Object getSource()
Returns the source of the RepositoryConfiguration.

Returns:

getConfigurationSource

T getConfigurationSource()
Returns the RepositoryConfigurationSource that backs the RepositoryConfiguration.

Returns:

Spring Data Commons

Copyright © 2012. All Rights Reserved.