processors

package
v1.5.27 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 16 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PriorityOrderLoggerAware = 1 << (iota + 1)
	PriorityOrderPropertyConfigQuoteAware
	PriorityOrderPropertyExpressionTagAware
	PriorityOrderPopulateProperties
)
View Source
const (
	OrderDependencyAware = 1 << (iota + 1)
	OrderDependencyFurtherMatching
	OrderValidate
)
View Source
const (
	ArgValidate component_definition.ArgType = "Validate"
)

Variables

This section is empty.

Functions

Types

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 container.DefinitionRegistry, component any, componentName string) error

Jump to

Keyboard shortcuts

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