Documentation ¶
Index ¶
- Constants
- func GetImpl(sdID string, param interface{}) (interface{}, error)
- func GetImplWithProxy(sdID string, param interface{}) (interface{}, error)
- func NewNormalAutowire(sp autowire.SDIDParser, pl autowire.ParamLoader, facade autowire.Autowire) autowire.Autowire
- func RegisterStructDescriptor(sd *autowire.StructDescriptor)
- type NormalAutowire
Constants ¶
View Source
const Name = "normal"
Variables ¶
This section is empty.
Functions ¶
func GetImplWithProxy ¶
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
Click to show internal directories.
Click to hide internal directories.