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, ConfigurableListableBeanFactory beanFactory) Creates a newBeanDefinitionUtils.EntityManagerFactoryBeanDefinition
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns theBeanDefinition
for theEntityManagerFactory
.Returns the underlyingBeanFactory
.Returns the bean name of theBeanDefinition
for theEntityManagerFactory
.int
hashCode()
-
Constructor Details
-
EntityManagerFactoryBeanDefinition
public EntityManagerFactoryBeanDefinition(String beanName, ConfigurableListableBeanFactory beanFactory) Creates a newBeanDefinitionUtils.EntityManagerFactoryBeanDefinition
.- Parameters:
beanName
-beanFactory
-
-
-
Method Details
-
getBeanName
Returns the bean name of theBeanDefinition
for theEntityManagerFactory
.- Returns:
-
getBeanFactory
Returns the underlyingBeanFactory
.- Returns:
-
getBeanDefinition
Returns theBeanDefinition
for theEntityManagerFactory
.- Returns:
-
equals
-
hashCode
public int hashCode()
-