//
// iterate all elements
for(Iterator it=includeDefs.iterator(); it.hasNext();) {
//
// obtains current element
IncludeDef includeDef = (IncludeDef)it.next();
//
// if this include as bean proceced on previus step (remember is recursive), then leave this.
if (!includeDef.isLoaded()) {
//
// obtain resource
String resource = includeDef.getResource();
//
// mark this include like loaded (because if not enter in infinite loop)
includeDef.setLoaded(true);
//
// append this resource to configuration
config = append(resource, config);
}
}