org.springframework.data.repository.config
Class AutomaticRepositoryConfigInformation<S extends CommonRepositoryConfigInformation>
java.lang.Object
org.springframework.data.repository.config.ParentDelegatingRepositoryConfigInformation<S>
org.springframework.data.repository.config.AutomaticRepositoryConfigInformation<S>
- All Implemented Interfaces:
- CommonRepositoryConfigInformation, SingleRepositoryConfigInformation<S>
public class AutomaticRepositoryConfigInformation<S extends CommonRepositoryConfigInformation>
- extends ParentDelegatingRepositoryConfigInformation<S>
A SingleRepositoryConfigInformation
implementation that is not backed
by an XML element but by a scanned interface. As this is derived from the
parent, most of the lookup logic is delegated to the parent as well.
- Author:
- Oliver Gierke
Methods inherited from class org.springframework.data.repository.config.ParentDelegatingRepositoryConfigInformation |
autodetectCustomImplementation, getBasePackage, getCustomImplementationRef, getImplementationBeanName, getImplementationClassName, getParent, getQueryLookupStrategyKey, getRepositoryFactoryBeanClassName, getRepositoryImplementationSuffix, getSource, getTransactionManagerRef |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutomaticRepositoryConfigInformation
public AutomaticRepositoryConfigInformation(String interfaceName,
S parent)
- Creates a new
AutomaticRepositoryConfigInformation
for the given
interface name and CommonRepositoryConfigInformation
parent.
- Parameters:
interfaceName
- parent
-
getBeanId
public String getBeanId()
- Description copied from interface:
SingleRepositoryConfigInformation
- Returns the bean name to be used for the repository.
- Returns:
getInterfaceName
public String getInterfaceName()
- Description copied from interface:
SingleRepositoryConfigInformation
- Returns the name of the repository interface.
- Returns:
Copyright © 2011. All Rights Reserved.