org.springframework.data.document.mongodb.config
Class SimpleMongoRepositoryConfiguration
java.lang.Object
org.springframework.data.document.mongodb.config.SimpleMongoRepositoryConfiguration
public class SimpleMongoRepositoryConfiguration
- extends
RepositoryConfig
implementation to create
SimpleMongoRepositoryConfiguration.MongoRepositoryConfiguration
instances for both automatic and manual
configuration.
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MONGO_TEMPLATE_REF
private static final java.lang.String MONGO_TEMPLATE_REF
- See Also:
- Constant Field Values
DEFAULT_MONGO_TEMPLATE_REF
private static final java.lang.String DEFAULT_MONGO_TEMPLATE_REF
- See Also:
- Constant Field Values
MAPPING_CONTEXT_REF
private static final java.lang.String MAPPING_CONTEXT_REF
- See Also:
- Constant Field Values
SimpleMongoRepositoryConfiguration
protected SimpleMongoRepositoryConfiguration(org.w3c.dom.Element repositoriesElement)
- Creates a new
SimpleMongoRepositoryConfiguration
for the given
Element
.
- Parameters:
repositoriesElement
-
getMongoTemplateRef
public java.lang.String getMongoTemplateRef()
- Returns the bean name of the
MongoTemplate
to be referenced.
- Returns:
getMappingContextRef
public java.lang.String getMappingContextRef()
getAutoconfigRepositoryInformation
public SimpleMongoRepositoryConfiguration.MongoRepositoryConfiguration getAutoconfigRepositoryInformation(java.lang.String interfaceName)
getRepositoryBaseInterface
public java.lang.Class<?> getRepositoryBaseInterface()
createSingleRepositoryConfigInformationFor
protected SimpleMongoRepositoryConfiguration.MongoRepositoryConfiguration createSingleRepositoryConfigInformationFor(org.w3c.dom.Element element)