bean

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBeanName

func GetBeanName(b Bean) string

func GetName added in v1.2.8

func GetName(b interface{}) string

Types

type Bean

type Bean interface {
	Bean() string
	BeanStart()
	BeanEnd()
}

type DisposableBean added in v1.4.4

type DisposableBean interface {
	Bean
	Destroy() error
}

type FactoryBean

type FactoryBean interface {
	Bean
	GetBean() (Bean, error)
	GetBeanType() reflect.Type
	IsSingleton() bool
}

type InitialingBean added in v1.4.4

type InitialingBean interface {
	Bean
	Init() error
}

type NameAware added in v1.4.4

type NameAware interface {
	Bean
	SetBeanName(beanName string)
}

type PostProcessorBean added in v1.4.4

type PostProcessorBean interface {
	Bean
	PostProcessorBeforeInitialization(bean interface{}, beanName string) error
	PostProcessorAfterInitialization(bean interface{}, beanName string) error
}

Jump to

Keyboard shortcuts

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