Class 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.
    • Method Detail

      • setMappings

        public void setMappings​(List mappings)
      • getObject

        public Object getObject()
                         throws Exception
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean
        Throws:
        Exception
      • getObjectType

        public 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