me.chanjar.weixin.open.solon.XPluginImp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weixin-java-open-solon-plugin Show documentation
Show all versions of weixin-java-open-solon-plugin Show documentation
wxjava,微信开放平台开发 Java SDK Solon Plugin
package me.chanjar.weixin.open.solon;
import org.noear.solon.core.AppContext;
import org.noear.solon.core.Plugin;
import me.chanjar.weixin.open.solon.config.WxOpenServiceAutoConfiguration;
import me.chanjar.weixin.open.solon.config.storage.WxOpenInJedisConfigStorageConfiguration;
import me.chanjar.weixin.open.solon.config.storage.WxOpenInMemoryConfigStorageConfiguration;
import me.chanjar.weixin.open.solon.config.storage.WxOpenInRedisConfigStorageConfiguration;
import me.chanjar.weixin.open.solon.config.storage.WxOpenInRedissonConfigStorageConfiguration;
import me.chanjar.weixin.open.solon.properties.WxOpenProperties;
public class XPluginImp implements Plugin{
@Override
public void start(AppContext context) throws Throwable {
context.beanMake(WxOpenProperties.class);
context.beanMake(WxOpenInMemoryConfigStorageConfiguration.class);
context.beanMake(WxOpenInRedissonConfigStorageConfiguration.class);
context.beanMake(WxOpenInRedisConfigStorageConfiguration.class);
context.beanMake(WxOpenInJedisConfigStorageConfiguration.class);
context.beanMake(WxOpenServiceAutoConfiguration.class);
}
}