com.atlassian.confluence.core.persistence.hibernate
Class ConfigurableMappingResources
java.lang.Object
com.atlassian.confluence.core.persistence.hibernate.ConfigurableMappingResources
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class ConfigurableMappingResources
- extends java.lang.Object
- implements org.springframework.beans.factory.FactoryBean
This class allows to override and add to hibernate mappings defined in
Spring XML configuration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableMappingResources
public ConfigurableMappingResources(ConfluenceHibernateConfig hibernateConfig)
setMappings
public void setMappings(java.util.List mappings)
getObject
public java.lang.Object getObject()
throws java.lang.Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
java.lang.Exception
getObjectType
public java.lang.Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2003-2014 Atlassian. All Rights Reserved.