Documentation ¶
Index ¶
- func CreateRuntimeContext(parent application.RuntimeContext) (application.RuntimeContext, error)
- type PrototypeComponentHolder
- func (inst *PrototypeComponentHolder) GetContext() application.RuntimeContext
- func (inst *PrototypeComponentHolder) GetInfo() application.ComponentInfo
- func (inst *PrototypeComponentHolder) GetInstance() application.ComponentInstance
- func (inst *PrototypeComponentHolder) IsOriginalName(name string) bool
- func (inst *PrototypeComponentHolder) MakeChild(context application.RuntimeContext) application.ComponentHolder
- type RuntimeContextLoader
- type SingletonComponentHolder
- func (inst *SingletonComponentHolder) GetContext() application.RuntimeContext
- func (inst *SingletonComponentHolder) GetInfo() application.ComponentInfo
- func (inst *SingletonComponentHolder) GetInstance() application.ComponentInstance
- func (inst *SingletonComponentHolder) IsOriginalName(name string) bool
- func (inst *SingletonComponentHolder) MakeChild(context application.RuntimeContext) application.ComponentHolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRuntimeContext ¶
func CreateRuntimeContext(parent application.RuntimeContext) (application.RuntimeContext, error)
Types ¶
type PrototypeComponentHolder ¶
type PrototypeComponentHolder struct {
// contains filtered or unexported fields
}
func (*PrototypeComponentHolder) GetContext ¶
func (inst *PrototypeComponentHolder) GetContext() application.RuntimeContext
func (*PrototypeComponentHolder) GetInfo ¶
func (inst *PrototypeComponentHolder) GetInfo() application.ComponentInfo
func (*PrototypeComponentHolder) GetInstance ¶
func (inst *PrototypeComponentHolder) GetInstance() application.ComponentInstance
func (*PrototypeComponentHolder) IsOriginalName ¶
func (inst *PrototypeComponentHolder) IsOriginalName(name string) bool
func (*PrototypeComponentHolder) MakeChild ¶
func (inst *PrototypeComponentHolder) MakeChild(context application.RuntimeContext) application.ComponentHolder
type RuntimeContextLoader ¶
type RuntimeContextLoader struct {
// contains filtered or unexported fields
}
RuntimeContextLoader 运行时上下文加载器
func (*RuntimeContextLoader) Load ¶
func (inst *RuntimeContextLoader) Load(config application.Configuration, args []string) (application.RuntimeContext, error)
Load 方法根据传入的配置加载运行时上下文
type SingletonComponentHolder ¶
type SingletonComponentHolder struct {
// contains filtered or unexported fields
}
func (*SingletonComponentHolder) GetContext ¶
func (inst *SingletonComponentHolder) GetContext() application.RuntimeContext
func (*SingletonComponentHolder) GetInfo ¶
func (inst *SingletonComponentHolder) GetInfo() application.ComponentInfo
func (*SingletonComponentHolder) GetInstance ¶
func (inst *SingletonComponentHolder) GetInstance() application.ComponentInstance
func (*SingletonComponentHolder) IsOriginalName ¶
func (inst *SingletonComponentHolder) IsOriginalName(name string) bool
func (*SingletonComponentHolder) MakeChild ¶
func (inst *SingletonComponentHolder) MakeChild(context application.RuntimeContext) application.ComponentHolder
Click to show internal directories.
Click to hide internal directories.