Class RepositoryFragmentConfiguration
java.lang.Object
org.springframework.data.repository.config.RepositoryFragmentConfiguration
Fragment configuration consisting of an interface name and the implementation class name.
- Since:
- 2.0
- Author:
- Mark Paluch, Oliver Gierke
-
Constructor Summary
ConstructorDescriptionRepositoryFragmentConfiguration
(String interfaceName, String className) RepositoryFragmentConfiguration
(String interfaceName, org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition) Creates aRepositoryFragmentConfiguration
giveninterfaceName
andAbstractBeanDefinition
of the implementation. -
Method Summary
-
Constructor Details
-
RepositoryFragmentConfiguration
- Parameters:
interfaceName
- must not be null or empty.className
- must not be null or empty.
-
RepositoryFragmentConfiguration
public RepositoryFragmentConfiguration(String interfaceName, org.springframework.beans.factory.support.AbstractBeanDefinition beanDefinition) Creates aRepositoryFragmentConfiguration
giveninterfaceName
andAbstractBeanDefinition
of the implementation.- Parameters:
interfaceName
- must not be null or empty.beanDefinition
- must not be null.
-
-
Method Details
-
getImplementationBeanName
- Returns:
- name of the implementation bean.
-
getFragmentBeanName
- Returns:
- name of the implementation fragment bean.
-
getInterfaceName
-
getClassName
-
getBeanDefinition
public Optional<org.springframework.beans.factory.support.AbstractBeanDefinition> getBeanDefinition() -
equals
-
hashCode
public int hashCode() -
toString
-