Documentation ¶
Index ¶
- type ComponentPostProcessor
- type DefaultComponentPostProcessor
- type DefaultInstantiationAwareComponentPostProcessor
- func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessAfterInstantiation(component any, componentName string) (bool, error)
- func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessBeforeInstantiation(m *component_definition.Meta, componentName string) (any, error)
- func (d *DefaultInstantiationAwareComponentPostProcessor) PostProcessProperties(properties []*component_definition.Property, component any, ...) ([]*component_definition.Property, error)
- type DefaultTagScanDefinitionRegistryPostProcessor
- type DefinitionRegistryPostProcessor
- type DestructionAwareComponentPostProcessor
- type InstantiationAwareComponentPostProcessor
- type SmartInstantiationAwareBeanPostProcessor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentPostProcessor ¶
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 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) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.