// Check state
if (configRootNode == null)
throw new ObjectNotValidException(this);
// Check arguments
if (bean == null)
throw new InvalidArgumentException("bean", bean);
Element propertiesNode = configRootNode;
for(String nodeName : propertiesNodeNames)
{
if (StringUtils.isEmpty(nodeName))
throw new InvalidArgumentException("propertiesNodeNames", null);
// Get configuration node
propertiesNode = XMLUtil.findFirstChild(propertiesNode, nodeName);
if (propertiesNode == null)
{ // Configuration
log.error("Property-Node {} has not been found.", nodeName);