app_context

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationContext

type ApplicationContext interface {
	GetBean(name string) (interface{}, error)
	IsBeanExists(name string) bool
	RegisterBean(bean interface{})
	RegisterBeanWithName(name string, bean interface{})
	RegisterFactoryBean(bean bean.FactoryBean)
	GetBeansByInterfaceType(typ reflect.Type) []interface{}
	GetBeanByInterface(a interface{}) interface{}
	GetBeansByInterface(a interface{}) []interface{}
	GetAllBeans() []bean.Bean
	GetAllBeansByInterface(a interface{}) []bean.Bean
}

func NewAppCtx

func NewAppCtx() ApplicationContext

Jump to

Keyboard shortcuts

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