JAXBContext ctx = JAXBContext.newInstance(CTX_CLASS);
Unmarshaller um = ctx.createUnmarshaller();
StringReader r = new StringReader(content);
InputSource is = new InputSource(r);
Source s = new SAXSource(is);
JAXBElement<ManagedConnectionFactoryDeploymentGroup> elem = um.unmarshal(s, ManagedConnectionFactoryDeploymentGroup.class);
ManagedConnectionFactoryDeploymentGroup group = elem.getValue();
return group;
}
public static ManagedConnectionFactoryDeploymentGroup unmarshalResource(String resourceName) throws Exception
{