org.eclipse.gemini.blueprint.config.internal.util
Interface AttributeCallback
- All Known Implementing Classes:
- BlueprintAttributeCallback, BlueprintReferenceAttributeCallback, ConventionsCallback, PropertyRefAttributeCallback, ServiceAttributeCallback, StandardAttributeCallback
public interface AttributeCallback
Wrapper callback used for parsing attributes (one at a time) that are
non standard (ID, LAZY-INIT, DEPENDS-ON).
- Author:
- Costin Leau
Method Summary |
boolean |
process(Element parent,
Attr attribute,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Process the given attribute using the contextual element and bean
builder. |
process
boolean process(Element parent,
Attr attribute,
org.springframework.beans.factory.support.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-2012. All Rights Reserved.