/** * Creates a repository of the repository base class defined in the given {@link RepositoryInformation} using * reflection. * * @param information * @param constructorArguments * @return */ protected final <R> R getTargetRepositoryViaReflection(RepositoryInformation information, Object... constructorArguments) { Class<?> baseClass = information.getRepositoryBaseClass(); return getTargetRepositoryViaReflection(baseClass, constructorArguments); }
@Override protected Object getTargetRepository(RepositoryInformation repositoryInformation) { EntityInformation<?, Serializable> entityInformation = getEntityInformation(repositoryInformation.getDomainType()); return super.getTargetRepositoryViaReflection(repositoryInformation, entityInformation, aerospikeOperations); }
@Override protected Object getTargetRepository(RepositoryInformation repositoryInformation) { EntityInformation<?, ?> entityInformation = getEntityInformation(repositoryInformation.getDomainType()); return super.getTargetRepositoryViaReflection(repositoryInformation, entityInformation, keyValueOperations); }
@Override protected Object getTargetRepository(RepositoryInformation repositoryInformation) { EntityInformation<?, ?> entityInformation = getEntityInformation(repositoryInformation.getDomainType()); return super.getTargetRepositoryViaReflection(repositoryInformation, entityInformation, keyValueOperations); }
@Override protected Object getTargetRepository(RepositoryInformation repositoryInformation) { EntityInformation<?, ?> entityInformation = getEntityInformation(repositoryInformation.getDomainType()); return super.getTargetRepositoryViaReflection(repositoryInformation, entityInformation, keyValueOperations); }