processors

package
v1.5.22 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentPostProcessor

type ComponentPostProcessor interface {
	PostProcessBeforeInitialization(component any, componentName string) (any, error)
	PostProcessAfterInitialization(component any, componentName string) (any, error)
}

type DefaultComponentPostProcessor

type DefaultComponentPostProcessor struct {
}

func (*DefaultComponentPostProcessor) PostProcessAfterInitialization

func (d *DefaultComponentPostProcessor) PostProcessAfterInitialization(component any, componentName string) (any, error)

func (*DefaultComponentPostProcessor) PostProcessBeforeInitialization

func (d *DefaultComponentPostProcessor) PostProcessBeforeInitialization(component any, componentName string) (any, error)

type DefaultInstantiationAwareComponentPostProcessor

type DefaultInstantiationAwareComponentPostProcessor struct {
	DefaultComponentPostProcessor
}

func (*DefaultInstantiationAwareComponentPostProcessor) PostProcessAfterInstantiation

func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessAfterInstantiation(component any, componentName string) (bool, error)

func (*DefaultInstantiationAwareComponentPostProcessor) PostProcessBeforeInstantiation

func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessBeforeInstantiation(m *component_definition.Meta, componentName string) (any, error)

func (*DefaultInstantiationAwareComponentPostProcessor) PostProcessProperties

func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessProperties(properties []*component_definition.Property, component any, componentName string) ([]*component_definition.Property, error)

type DefaultTagScanDefinitionRegistryPostProcessor

type DefaultTagScanDefinitionRegistryPostProcessor struct {
	definition.LazyInitComponent
	NodeType       component_definition.PropertyType
	Tag            string
	ExtractHandler func(meta *component_definition.Meta, field *component_definition.Field) (tag, tagVal string, ok bool)
	Required       bool
}

func (*DefaultTagScanDefinitionRegistryPostProcessor) PostProcessDefinitionRegistry

func (d *DefaultTagScanDefinitionRegistryPostProcessor) PostProcessDefinitionRegistry(registry support.DefinitionRegistry, component any, componentName string) error

type DefinitionRegistryPostProcessor

type DefinitionRegistryPostProcessor interface {
	PostProcessDefinitionRegistry(registry support.DefinitionRegistry, component any, componentName string) error
}

type DestructionAwareComponentPostProcessor

type DestructionAwareComponentPostProcessor interface {
	ComponentPostProcessor
	PostProcessBeforeDestruction(component any, componentName string) error
	RequireDestruction(component any) bool
}

type InstantiationAwareComponentPostProcessor

type InstantiationAwareComponentPostProcessor interface {
	ComponentPostProcessor
	PostProcessBeforeInstantiation(m *component_definition.Meta, componentName string) (any, error)
	PostProcessAfterInstantiation(component any, componentName string) (bool, error)
	PostProcessProperties(properties []*component_definition.Property, component any, componentName string) ([]*component_definition.Property, error)
}

type SmartInstantiationAwareBeanPostProcessor

type SmartInstantiationAwareBeanPostProcessor interface {
	InstantiationAwareComponentPostProcessor
	GetEarlyBeanReference(component any, componentName string) (any, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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