Class JpaMetamodelMappingContextFactoryBean
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<JpaMetamodelMappingContext>
org.springframework.data.jpa.repository.config.JpaMetamodelMappingContextFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<JpaMetamodelMappingContext>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class JpaMetamodelMappingContextFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean<JpaMetamodelMappingContext>
implements org.springframework.context.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
(org.springframework.context.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
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<JpaMetamodelMappingContext>
- Specified by:
getObjectType
in classorg.springframework.beans.factory.config.AbstractFactoryBean<JpaMetamodelMappingContext>
-
createInstance
- Specified by:
createInstance
in classorg.springframework.beans.factory.config.AbstractFactoryBean<JpaMetamodelMappingContext>
-