warn message added

pull/3048/head
Nikita Koksharov 4 years ago
parent 74aa95e5d9
commit fc3329c2a0

@ -15,6 +15,8 @@
*/
package org.redisson.spring.support;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
/**
@ -22,9 +24,13 @@ import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
* @author Rui Gu (https://github.com/jackygurui)
*/
public class RedissonNamespaceHandlerSupport extends NamespaceHandlerSupport {
static final Logger log = LoggerFactory.getLogger(RedissonNamespaceHandlerSupport.class);
@Override
public void init() {
log.error("Spring XML configuration is deprecated and will be removed in future!");
RedissonNamespaceParserSupport helper
= new RedissonNamespaceParserSupport();

Loading…
Cancel
Save