All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nepxion.permission.context.PermissionFeignBeanFactoryPostProcessor Maven / Gradle / Ivy

Go to download

Nepxion Permission is a permission system based on Redis with Nepxion Matrix AOP framework and Aquarius framework

There is a newer version: 3.0.8
Show newest version
package com.nepxion.permission.context;

/**
 * 

Title: Nepxion Permission

*

Description: Nepxion Permission

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanDefinition; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; // 参考:https://github.com/spring-cloud/spring-cloud-netflix/issues/1952, https://github.com/spring-cloud/spring-cloud-netflix/issues/1064 public class PermissionFeignBeanFactoryPostProcessor implements BeanFactoryPostProcessor { @Override public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException { BeanDefinition definition = beanFactory.getBeanDefinition("feignContext"); definition.setDependsOn("eurekaServiceRegistry", "inetUtils"); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy