org.springframework.osgi.config
Interface ParserUtils.AttributeCallback
- All Known Implementing Classes:
- ParserUtils.ConventionCallback, ParserUtils.PropertyRefAttributeCallback, ParserUtils.StandardAttributeCallback
- Enclosing class:
- ParserUtils
public static interface ParserUtils.AttributeCallback
Wrapper callback used for parsing attributes (one at a time) that have
are non standard (ID, LAZY-INIT, DEPENDS-ON).
- Author:
- Costin Leau
process
boolean process(Element parent,
Attr attribute,
BeanDefinitionBuilder builder)
- Process the given attribute using the contextual element and bean
builder. Normally, the callback will interact with the bean
definition and set some properties. If the callback has
intercepted an attribute, it can stop the invocation of the rest of
the callbacks on the stack by returning false.
- Parameters:
parent
- parent elementattribute
- current intercepted attributebuilder
- builder holding the current bean definition
- Returns:
- true if the rest of the callbacks should be called or false
otherwise.
Copyright © 2006-2007 Spring Framework. All Rights Reserved.