package com.s24.redjob;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.redis.connection.RedisConnectionFactory;

import java.lang.annotation.*;

/**
 * Qualifier for the {@link RedisConnectionFactory} to use for RedJob.
 */
@Target({ElementType.FIELD, ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Qualifier
public @interface RedJobRedisConnectionFactory {
}

@@ -310,17 +310,84 @@
 ype.
-PARAMETER
+METHOD, ElementType.PARAMETER, ElementType.TYPE, ElementType.ANNOTATION_TYPE
 %7D)%0A@

Introduce qualifier for connection factory to use for RedJob