Class JpaMetamodelMappingContextFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<JpaMetamodelMappingContext>
org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<JpaMetamodelMappingContext>
,InitializingBean
,ApplicationContextAware
public class JpaMetamodelMappingContextFactoryBean
extends AbstractFactoryBean<JpaMetamodelMappingContext>
implements ApplicationContextAware
FactoryBean
to setup JpaMetamodelMappingContext
instances from Spring configuration.- Since:
- 1.6
- Author:
- Oliver Gierke, Mark Paluch
-
Field Summary
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JpaMetamodelMappingContext
Class<?>
void
setApplicationContext
(ApplicationContext applicationContext) Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
JpaMetamodelMappingContextFactoryBean
public JpaMetamodelMappingContextFactoryBean()
-
-
Method Details
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<JpaMetamodelMappingContext>
- Specified by:
getObjectType
in classAbstractFactoryBean<JpaMetamodelMappingContext>
-
createInstance
- Specified by:
createInstance
in classAbstractFactoryBean<JpaMetamodelMappingContext>
-