org.milyn.persistence.config.ext
Class SetSelectorFromBeanPopulatorWiring
java.lang.Object
org.milyn.persistence.config.ext.SetSelectorFromBeanPopulatorWiring
- All Implemented Interfaces:
- ContentHandler, DOMVisitBefore, DOMVisitor, Visitor
public class SetSelectorFromBeanPopulatorWiring
- extends Object
- implements DOMVisitBefore
This resource tries to find a sensible default selector if no selector
is set on the resource.
It does this by searching for the resource that creates the bean which the current resource
affects.
For instance for the EntityInserter this means that it will set the selector to the same value
as the bean creator that creates the bean that needs to be inserted.
- Author:
- maurice.zeijen@smies.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetSelectorFromBeanPopulatorWiring
public SetSelectorFromBeanPopulatorWiring()
visitBefore
public void visitBefore(Element element,
ExecutionContext executionContext)
throws SmooksException
- Specified by:
visitBefore in interface DOMVisitBefore
- Throws:
SmooksException
findBeanCreatorConfig
public SmooksResourceConfiguration findBeanCreatorConfig(String beanId,
ExtensionContext extensionContext)
Copyright © 2011. All Rights Reserved.