Class BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
java.lang.Object
org.springframework.data.jpa.util.BeanDefinitionUtils.EntityManagerFactoryBeanDefinition
- Enclosing class:
- BeanDefinitionUtils
Value object to represent a
BeanDefinition
for an EntityManagerFactory
with a dedicated bean name.- Author:
- Oliver Gierke, Thomas Darimont
-
Constructor Summary
ConstructorDescriptionEntityManagerFactoryBeanDefinition
(String beanName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) Creates a newBeanDefinitionUtils.EntityManagerFactoryBeanDefinition
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
org.springframework.beans.factory.config.BeanDefinition
Returns theBeanDefinition
for theEntityManagerFactory
.org.springframework.beans.factory.BeanFactory
Returns the underlyingBeanFactory
.Returns the bean name of theBeanDefinition
for theEntityManagerFactory
.int
hashCode()
-
Constructor Details
-
EntityManagerFactoryBeanDefinition
public EntityManagerFactoryBeanDefinition(String beanName, org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) Creates a newBeanDefinitionUtils.EntityManagerFactoryBeanDefinition
.- Parameters:
beanName
-beanFactory
-
-
-
Method Details
-
getBeanName
Returns the bean name of theBeanDefinition
for theEntityManagerFactory
.- Returns:
-
getBeanFactory
public org.springframework.beans.factory.BeanFactory getBeanFactory()Returns the underlyingBeanFactory
.- Returns:
-
getBeanDefinition
public org.springframework.beans.factory.config.BeanDefinition getBeanDefinition()Returns theBeanDefinition
for theEntityManagerFactory
.- Returns:
-
equals
-
hashCode
public int hashCode()
-