normal

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 4 Imported by: 90

Documentation

Index

Constants

View Source
const Name = "normal"

Variables

This section is empty.

Functions

func GetImpl

func GetImpl(sdID string, param interface{}) (interface{}, error)

func GetImplWithProxy

func GetImplWithProxy(sdID string, param interface{}) (interface{}, error)

func NewNormalAutowire

func NewNormalAutowire(sp autowire.SDIDParser, pl autowire.ParamLoader, facade autowire.Autowire) autowire.Autowire

NewNormalAutowire create a normal autowire based autowire, e.g. config, base.facade can be re-write to outer autowire

func RegisterStructDescriptor

func RegisterStructDescriptor(sd *autowire.StructDescriptor)

Types

type NormalAutowire

type NormalAutowire struct {
	base.AutowireBase
}

func (*NormalAutowire) CanBeEntrance

func (s *NormalAutowire) CanBeEntrance() bool

func (*NormalAutowire) GetAllStructDescriptors

func (n *NormalAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor

GetAllStructDescriptors should be re-write by facade

func (*NormalAutowire) IsSingleton

func (n *NormalAutowire) IsSingleton() bool

func (*NormalAutowire) TagKey

func (n *NormalAutowire) TagKey() string

TagKey should be re-writed by facade autowire

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL