Unmarshaller unmarshaller = unmarshallerFactory.newUnmarshaller();
SchemaBinding schema = JBossXBBuilder.build(EjbJar21MetaData.class);
JBossEntityResolver entityResolver = new JBossEntityResolver();
unmarshaller.setEntityResolver(entityResolver);
return (EjbJar21MetaData) unmarshaller.unmarshal(ejbJarXml, schema);
}
public void testEJBPermissions() throws Exception
{
ClassLoader cl = Thread.currentThread().getContextClassLoader();