com.atlassian.confluence.core.persistence.hibernate
Class ConfigurableMappingResources

java.lang.Object
  extended by 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.


Constructor Summary
ConfigurableMappingResources(ConfluenceHibernateConfig hibernateConfig)
           
 
Method Summary
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
 boolean isSingleton()
           
 void setMappings(java.util.List mappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableMappingResources

public ConfigurableMappingResources(ConfluenceHibernateConfig hibernateConfig)
Method Detail

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.