@Configuration @ConditionalOnClass(value=org.apache.shenyu.plugin.global.GlobalPlugin.class) public class GlobalPluginConfiguration extends java.lang.Object
| 构造器和说明 |
|---|
GlobalPluginConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.shenyu.plugin.api.ShenyuPlugin |
globalPlugin(org.apache.shenyu.plugin.api.context.ShenyuContextBuilder shenyuContextBuilder)
Global plugin shenyu plugin.
|
org.apache.shenyu.sync.data.api.MetaDataSubscriber |
metaDataCacheSubscriber()
Cache meta data subscriber.
|
org.apache.shenyu.plugin.api.context.ShenyuContextBuilder |
shenyuContextBuilder(org.springframework.beans.factory.ObjectProvider<java.util.List<org.apache.shenyu.plugin.api.context.ShenyuContextDecorator>> decorators)
Shenyu context builder.
|
@Bean public org.apache.shenyu.plugin.api.ShenyuPlugin globalPlugin(org.apache.shenyu.plugin.api.context.ShenyuContextBuilder shenyuContextBuilder)
shenyuContextBuilder - the shenyu context builder@Bean
@ConditionalOnMissingBean(value=org.apache.shenyu.plugin.api.context.ShenyuContextBuilder.class,
search=ALL)
public org.apache.shenyu.plugin.api.context.ShenyuContextBuilder shenyuContextBuilder(org.springframework.beans.factory.ObjectProvider<java.util.List<org.apache.shenyu.plugin.api.context.ShenyuContextDecorator>> decorators)
decorators - the decorators@Bean public org.apache.shenyu.sync.data.api.MetaDataSubscriber metaDataCacheSubscriber()
Copyright © 2022 The Apache Software Foundation. All rights reserved.