{
VirtualFile jbossStructure = file.getChild("META-INF/jboss-structure.xml");
if (jbossStructure != null)
{
log.trace("... context has a META-INF/jboss-structure.xml");
URL url = jbossStructure.toURL();
UnmarshallerFactory factory = UnmarshallerFactory.newInstance();
Unmarshaller unmarshaller = factory.newUnmarshaller();
StructureMetaDataObjectFactory ofactory = new StructureMetaDataObjectFactory();
unmarshaller.unmarshal(url.toString(), ofactory, structureContext.getMetaData());
isJBossStructure = true;