| 程序包 | 说明 |
|---|---|
| net.hasor.cobble.scope |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PrototypeScope
多例
|
class |
SingletonScope
单例
|
| 限定符和类型 | 方法和说明 |
|---|---|
default <T> Supplier<T> |
Scope.chainScope(Object key,
Scope[] scopeChain,
int start,
int end,
Supplier<T> provider)
构造一个Scope链,使一个对象的创建可以同时贯穿多个Scope。
|
default <T> Supplier<T> |
Scope.chainScope(Object key,
Scope[] scopeChain,
Supplier<T> provider)
构造一个Scope链,使一个对象的创建可以同时贯穿多个Scope。
|
default <T> Supplier<T> |
Scope.chainScope(Object key,
Scope secondScope,
Supplier<T> provider)
构造一个Scope链,使一个对象的创建可以同时贯穿两个Scope。
|
Copyright © 2022. All rights reserved.