| 程序包 | 说明 |
|---|---|
| cn.com.fishin.tuz.core | |
| cn.com.fishin.tuz.loader.json | |
| cn.com.fishin.tuz.loader.properties | |
| cn.com.fishin.tuz.loader.redis |
| 类和说明 |
|---|
| Loadable
可加载的接口
实现接口中的加载方法,以获得成为 tuz 插件的资格
Loadable interface
You can obtain the power of being a loader of tuz by implementing this interface
|
| Tuzable
核心接口,但是没有任何作用
Core interface, but it is useless
|
| TuzConfig
全局配置
所有设置都可以通过这个类去设置,tuz 中会从这个配置类中获取配置信息
Global config
This class includes all settings, and tuz will fetch setting from it
我们先以 cn.com.fishin.tuz.demo.TuzSimpleDemo2 作为切入点
先看原本的例子:
//Tuz.load(new ClasspathPropertiesLoader("test.properties"));
//xxxService service = DiPlugin.useInstance(xxxService.class);
//service.say("Hello, Tuz!")
|
| 类和说明 |
|---|
| Loadable
可加载的接口
实现接口中的加载方法,以获得成为 tuz 插件的资格
Loadable interface
You can obtain the power of being a loader of tuz by implementing this interface
|
| Tuzable
核心接口,但是没有任何作用
Core interface, but it is useless
|
| 类和说明 |
|---|
| Loadable
可加载的接口
实现接口中的加载方法,以获得成为 tuz 插件的资格
Loadable interface
You can obtain the power of being a loader of tuz by implementing this interface
|
| Tuzable
核心接口,但是没有任何作用
Core interface, but it is useless
|
| 类和说明 |
|---|
| Loadable
可加载的接口
实现接口中的加载方法,以获得成为 tuz 插件的资格
Loadable interface
You can obtain the power of being a loader of tuz by implementing this interface
|
| Tuzable
核心接口,但是没有任何作用
Core interface, but it is useless
|
Copyright © 2019. All Rights Reserved.