bean

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 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
	Init() error
	Destroy() error
}

type Components

type Components []Bean

type FactoryBean

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

Jump to

Keyboard shortcuts

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