factory

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 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 ComponentFactoryPostProcessor added in v1.5.0

type ComponentFactoryPostProcessor interface {
	PostProcessComponentFactory(factory Factory) error
}

type Factory

type Factory interface {
	GetRegisteredComponents() map[string]any
	GetDefinitionRegistryPostProcessors() []processors.DefinitionRegistryPostProcessor
	SetRegistry(r support.SingletonRegistry)
	SetConfigure(c configure.Configure)
	PrepareComponents() error
	Refresh() error
	GetComponents(opts ...support.Option) ([]any, error)
	GetComponentByName(name string) (any, error)
	GetConfigure() configure.Configure
	GetDefinitionRegistry() support.DefinitionRegistry
}

func Default added in v1.3.0

func Default() Factory

type PostProcessorRegistrationDelegate added in v1.5.0

type PostProcessorRegistrationDelegate struct {
	// contains filtered or unexported fields
}

func (*PostProcessorRegistrationDelegate) GetEarlyBeanReference added in v1.5.0

func (f *PostProcessorRegistrationDelegate) GetEarlyBeanReference(name string, m any) (any, error)

func (*PostProcessorRegistrationDelegate) InitializeComponent added in v1.5.0

func (f *PostProcessorRegistrationDelegate) InitializeComponent(name string, m any) (any, error)

func (*PostProcessorRegistrationDelegate) InvokeBeanFactoryPostProcessors added in v1.5.0

func (f *PostProcessorRegistrationDelegate) InvokeBeanFactoryPostProcessors(factory Factory, factoryProcessors []ComponentFactoryPostProcessor) error

func (*PostProcessorRegistrationDelegate) ProcessInitializedComponentInitialization added in v1.5.0

func (f *PostProcessorRegistrationDelegate) ProcessInitializedComponentInitialization(meta *component_definition.Meta) error

func (*PostProcessorRegistrationDelegate) RegisterComponentPostProcessors added in v1.5.0

func (f *PostProcessorRegistrationDelegate) RegisterComponentPostProcessors(ps processors.ComponentPostProcessor)

func (*PostProcessorRegistrationDelegate) ResolveAfterInstantiation added in v1.5.0

func (f *PostProcessorRegistrationDelegate) ResolveAfterInstantiation(meta *component_definition.Meta, name string) error

func (*PostProcessorRegistrationDelegate) ResolveBeforeInstantiation added in v1.5.0

func (f *PostProcessorRegistrationDelegate) ResolveBeforeInstantiation(meta *component_definition.Meta, name string) (any, error)

Jump to

Keyboard shortcuts

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