Class EclipseStoreRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
software.xdev.spring.data.eclipse.store.repository.support.EclipseStoreRepositoryFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware
public class EclipseStoreRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
Creates the correct repository instance for repository-interfaces.
-
Constructor Summary
ConstructorsConstructorDescriptionEclipseStoreRepositoryFactory(EclipseStoreStorage storage, org.springframework.transaction.PlatformTransactionManager transactionManager, jakarta.validation.Validator validator) -
Method Summary
Modifier and TypeMethodDescription<T,ID> org.springframework.data.repository.core.EntityInformation<T, ID> getEntityInformation(Class<T> domainClass) protected Optional<org.springframework.data.repository.query.QueryLookupStrategy>getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) <T> TgetRepository(Class<T> repositoryInterface, org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments fragments) protected Class<?>getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) protected org.springframework.data.repository.core.RepositoryInformationgetRepositoryInformation(org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments fragments) protected ObjectgetTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepositoryFragments, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
-
Constructor Details
-
EclipseStoreRepositoryFactory
public EclipseStoreRepositoryFactory(EclipseStoreStorage storage, org.springframework.transaction.PlatformTransactionManager transactionManager, jakarta.validation.Validator validator)
-
-
Method Details
-
getEntityInformation
@Nonnull public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(@Nonnull Class<T> domainClass) - Specified by:
getEntityInformationin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getQueryLookupStrategy
@Nonnull protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, @Nonnull org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider) - Overrides:
getQueryLookupStrategyin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getTargetRepository
@Nonnull protected Object getTargetRepository(@Nonnull org.springframework.data.repository.core.RepositoryInformation metadata) - Specified by:
getTargetRepositoryin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getRepositoryBaseClass
@Nonnull protected Class<?> getRepositoryBaseClass(@Nonnull org.springframework.data.repository.core.RepositoryMetadata metadata) - Specified by:
getRepositoryBaseClassin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getRepositoryInformation
@Nonnull protected org.springframework.data.repository.core.RepositoryInformation getRepositoryInformation(@Nonnull org.springframework.data.repository.core.RepositoryMetadata metadata, @Nonnull org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments fragments) - Overrides:
getRepositoryInformationin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getRepository
@Nonnull public <T> T getRepository(@Nonnull Class<T> repositoryInterface, @Nonnull org.springframework.data.repository.core.support.RepositoryComposition.RepositoryFragments fragments) - Overrides:
getRepositoryin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-