Class ConfigurableMappingResources
- java.lang.Object
-
- com.atlassian.confluence.core.persistence.hibernate.ConfigurableMappingResources
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean
public class ConfigurableMappingResources extends Object implements org.springframework.beans.factory.FactoryBean
This class allows to override and add to hibernate mappings defined in Spring XML configuration.
-
-
Constructor Summary
Constructors Constructor Description ConfigurableMappingResources(HibernateDatabaseCapabilities databaseCapabilities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getObject()
Class
getObjectType()
boolean
isSingleton()
void
setMappings(List mappings)
-
-
-
Constructor Detail
-
ConfigurableMappingResources
public ConfigurableMappingResources(HibernateDatabaseCapabilities databaseCapabilities)
- Since:
- 7.20
-
-
Method Detail
-
setMappings
public void setMappings(List mappings)
-
getObject
public Object getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean
- Throws:
Exception
-
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean
-
-