|
|
@ -31,6 +31,7 @@ import org.redisson.api.listener.PatternMessageListener;
|
|
|
|
import org.redisson.client.codec.StringCodec;
|
|
|
|
import org.redisson.client.codec.StringCodec;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
|
|
|
import org.springframework.context.ApplicationEvent;
|
|
|
|
import org.springframework.context.ApplicationEventPublisher;
|
|
|
|
import org.springframework.context.ApplicationEventPublisher;
|
|
|
|
import org.springframework.expression.Expression;
|
|
|
|
import org.springframework.expression.Expression;
|
|
|
|
import org.springframework.expression.spel.standard.SpelExpressionParser;
|
|
|
|
import org.springframework.expression.spel.standard.SpelExpressionParser;
|
|
|
@ -267,7 +268,7 @@ public class RedissonSessionRepository implements FindByIndexNameSessionReposito
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void publishEvent(Object event) {
|
|
|
|
private void publishEvent(ApplicationEvent event) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
eventPublisher.publishEvent(event);
|
|
|
|
eventPublisher.publishEvent(event);
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|