ioc

package
v0.0.0-...-7232a66 Latest Latest
Warning

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

Go to latest
Published: May 4, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BeanFactoryImpl

type BeanFactoryImpl struct {
	ExprMap map[string]interface{}
	// contains filtered or unexported fields
}
var BeanFactory *BeanFactoryImpl

func NewBeanFactory

func NewBeanFactory() *BeanFactoryImpl

func (*BeanFactoryImpl) Apply

func (this *BeanFactoryImpl) Apply(bean interface{})

处理依赖注入

func (*BeanFactoryImpl) Config

func (this *BeanFactoryImpl) Config(cfgs ...interface{})

func (*BeanFactoryImpl) Get

func (this *BeanFactoryImpl) Get(v interface{}) interface{}

func (*BeanFactoryImpl) GetBeanMapper

func (this *BeanFactoryImpl) GetBeanMapper() BeanMapper

func (*BeanFactoryImpl) Set

func (this *BeanFactoryImpl) Set(vlist ...interface{})

type BeanMapper

type BeanMapper map[reflect.Type]reflect.Value

Jump to

Keyboard shortcuts

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