类 DataScopeConfiguration
java.lang.Object
org.macrocloud.kernel.datascope.config.DataScopeConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties(DataScopeProperties.class)
public class DataScopeConfiguration
extends Object
数据权限配置类
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明dataScopeHandler(ScopeModelHandler scopeModelHandler) interceptor(DataScopeHandler dataScopeHandler, DataScopeProperties dataScopeProperties)
-
构造器详细资料
-
DataScopeConfiguration
public DataScopeConfiguration()
-
-
方法详细资料
-
scopeModelHandler
@Bean @ConditionalOnMissingBean(ScopeModelHandler.class) public ScopeModelHandler scopeModelHandler() -
dataScopeHandler
@Bean @ConditionalOnBean(ScopeModelHandler.class) @ConditionalOnMissingBean(DataScopeHandler.class) public DataScopeHandler dataScopeHandler(ScopeModelHandler scopeModelHandler) -
interceptor
@Bean @ConditionalOnBean(DataScopeHandler.class) @ConditionalOnMissingBean(DataScopeInterceptor.class) public DataScopeInterceptor interceptor(DataScopeHandler dataScopeHandler, DataScopeProperties dataScopeProperties)
-