|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.data.repository.config.DefaultRepositoryConfiguration<T>
public class DefaultRepositoryConfiguration<T extends RepositoryConfigurationSource>
Default implementation of RepositoryConfiguration
.
Constructor Summary | |
---|---|
DefaultRepositoryConfiguration(T configurationSource,
String interfaceName)
Creates a new DefaultRepositoryConfiguration from the given RepositoryConfigurationSource and
interface name. |
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. |
RepositoryConfigurationSource |
getConfigSource()
|
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 |
getImplementationPostfix()
|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRepositoryConfiguration(T configurationSource, String interfaceName)
DefaultRepositoryConfiguration
from the given RepositoryConfigurationSource
and
interface name.
configurationSource
- must not be null.interfaceName
- must not be null or empty.Method Detail |
---|
public String getBeanId()
RepositoryConfiguration
BeanDefinition
the repository shall be registered under.
getBeanId
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public Object getQueryLookupStrategyKey()
RepositoryConfiguration
QueryLookupStrategy
from eventually.
getQueryLookupStrategyKey
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
QueryLookupStrategy.Key
public Iterable<String> getBasePackages()
RepositoryConfiguration
getBasePackages
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public String getRepositoryInterface()
RepositoryConfiguration
getRepositoryInterface
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public RepositoryConfigurationSource getConfigSource()
public String getNamedQueriesLocation()
RepositoryConfiguration
getNamedQueriesLocation
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public String getImplementationClassName()
RepositoryConfiguration
getImplementationClassName
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public String getImplementationBeanName()
RepositoryConfiguration
getImplementationBeanName
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public String getImplementationPostfix()
public Object getSource()
RepositoryConfiguration
RepositoryConfiguration
.
getSource
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public T getConfigurationSource()
RepositoryConfiguration
RepositoryConfigurationSource
that backs the RepositoryConfiguration
.
getConfigurationSource
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
public String getRepositoryFactoryBeanName()
RepositoryConfiguration
FactoryBean
class to be used to create repository instances.
getRepositoryFactoryBeanName
in interface RepositoryConfiguration<T extends RepositoryConfigurationSource>
|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |