org.eclipse.gemini.blueprint.blueprint.config.internal
Class BlueprintReferenceAttributeCallback
java.lang.Object
org.eclipse.gemini.blueprint.blueprint.config.internal.BlueprintReferenceAttributeCallback
- All Implemented Interfaces:
- AttributeCallback
public class BlueprintReferenceAttributeCallback
- extends Object
- implements AttributeCallback
RFC124/Blueprint specific attributes that need to be converted to Spring DM.
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlueprintReferenceAttributeCallback
public BlueprintReferenceAttributeCallback()
process
public boolean process(Element parent,
Attr attribute,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
- Description copied from interface:
AttributeCallback
- 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.
- Specified by:
process
in interface AttributeCallback
- 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.