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

com.nepxion.aquarius.limit.aop.LimitImportSelector Maven / Gradle / Ivy

Go to download

Nepxion Aquarius is a list of distribution components based on Redis + Zookeeper with Nepxion Matrix AOP framework

There is a newer version: 2.0.13
Show newest version
package com.nepxion.aquarius.limit.aop;

/**
 * 

Title: Nepxion Aquarius

*

Description: Nepxion Aquarius

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import com.nepxion.aquarius.limit.annotation.EnableLimit; import com.nepxion.aquarius.limit.constant.LimitConstant; import com.nepxion.matrix.selector.AbstractImportSelector; import com.nepxion.matrix.selector.RelaxedPropertyResolver; @Order(Ordered.LOWEST_PRECEDENCE - 100) public class LimitImportSelector extends AbstractImportSelector { @Override protected boolean isEnabled() { return new RelaxedPropertyResolver(getEnvironment()).getProperty(LimitConstant.LIMIT_ENABLED, Boolean.class, Boolean.TRUE); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy