{
if (log.isDebugEnabled())
{
log.debug("Start reading outlet configuration");
}
OutletConfiguration outletConfiguration
= new OutletConfigurationXmlParser()
.readOutletConfiguration(
configurationProvider,
configurationHandlers,
unitDescriptor);
unitConfiguration.setOutletConfiguration(outletConfiguration);
}
if (log.isDebugEnabled())
{
log.debug("Sucessfully read unitConfiguration for unit "
+ getUnitDisplayName(unitDescriptor));
}
if (unitDescriptor.getInheritsFrom() == null)
{
OutletConfiguration outletConfiguration
= unitConfiguration.getOutletConfiguration();
outletConfiguration.resolveMergepointMappings();
return unitConfiguration;
}
UnitConfiguration inherited = read(
unitDescriptor.getInheritsFrom(),
configurationHandlers);