This commit is contained in:
redkale
2023-12-23 22:18:17 +08:00
parent 5a156467d7
commit 7664edb9a1
6 changed files with 25 additions and 9 deletions

1
docs/locked.md Normal file
View File

@@ -0,0 +1 @@
文档完善中……

1
docs/native-image.md Normal file
View File

@@ -0,0 +1 @@
文档完善中……

8
docs/service.md Normal file
View File

@@ -0,0 +1,8 @@
# Service组件
&nbsp;&nbsp;&nbsp;&nbsp;Service是Redkale最核心的组件主要处理业务逻辑和操作数据层。Service实例分两种模式: <b>本地模式</b><b>远程模式</b>。其模式由```conf/application.xml```文件来配置。开发人员在调用过程中通常不需要区分Service实例是哪种模式。 <br/>
&nbsp;&nbsp;&nbsp;&nbsp;并不是Sevice都能进行本地和远程模式切换 以下情况的Service不能转成远程模式:
&nbsp;&nbsp;&nbsp;&nbsp;* Service类修饰为```final```
&nbsp;&nbsp;&nbsp;&nbsp;* Service类被标记```@Local```
&nbsp;&nbsp;&nbsp;&nbsp;* Service类被标记```@Component```
&nbsp;&nbsp;&nbsp;&nbsp;Redkale进程启动时扫描可加载的Service实现类根据配置文件配置的模式采用```ASM```技术动态生成相应的Service临时类进行实例化并注册到ResourceFactory同其他Service、Servlet依赖注入。

1
docs/websocket.md Normal file
View File

@@ -0,0 +1 @@
文档完善中……