FastDfsConfig.java 505 Bytes
Newer Older
liqin's avatar
liqin committed
1
package cn.chnmuseum.party.conf;
liqin's avatar
liqin committed
2 3 4 5 6 7 8 9 10 11 12 13 14

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableMBeanExport;
import org.springframework.context.annotation.Import;
import org.springframework.jmx.support.RegistrationPolicy;

@Configuration
@Import(FdfsClientConfig.class)
// Jmx重复注册bean的问题
@EnableMBeanExport(registration = RegistrationPolicy.IGNORE_EXISTING)
public class FastDfsConfig {
}