public interface ResolvedBeanCallback
| Modifier and Type | Method and Description |
|---|---|
String |
onResolve(Bean bean,
Node beanNode,
NamedNodeMap beanAttributes,
boolean isAnonymous,
BeanContainer container)
Callback method when a new Bean is resolved
|
String onResolve(Bean bean, Node beanNode, NamedNodeMap beanAttributes, boolean isAnonymous, BeanContainer container) throws XPathExpressionException
bean - newly resolved BeanbeanNode - XML node matching this new BeanbeanAttributes - Map of the Bean's attributesisAnonymous - whether the bean is anonymous or notcontainer - is the current aggregated BeanContainer used for Bean resolution
(in case of import, it may not be the same as the one used when registring the dependency)XPathExpressionExceptionCopyright © 2012-2013 Static IOC OSS project. All Rights Reserved.