Package com.onec.spring
Class RegisterRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
com.onec.spring.RegisterRepositoryFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable
public class RegisterRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
-
Constructor Summary
ConstructorsConstructorDescriptionRegisterRepositoryFactory(Map<Class<?>, RegisterPersistence<?>> persistenceMap, Map<Class<?>, RegisterRepositoryImpl<?>> repositoryImplMap) -
Method Summary
Modifier and TypeMethodDescription<T,ID> org.springframework.data.repository.core.EntityInformation <T, ID> getEntityInformation(Class<T> domainClass) protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) protected ObjectgetTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getEnvironment, getProjectionFactory, getProjectionFactory, getQueryLookupStrategy, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setEnvironment, setEvaluationContextProvider, setEvaluationContextProvider, setExposeMetadata, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
-
Constructor Details
-
RegisterRepositoryFactory
public RegisterRepositoryFactory(Map<Class<?>, RegisterPersistence<?>> persistenceMap, Map<Class<?>, RegisterRepositoryImpl<?>> repositoryImplMap)
-
-
Method Details
-
getEntityInformation
public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass) - Specified by:
getEntityInformationin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getTargetRepository
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) - Specified by:
getTargetRepositoryin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-
getRepositoryBaseClass
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) - Specified by:
getRepositoryBaseClassin classorg.springframework.data.repository.core.support.RepositoryFactorySupport
-