* @version $Rev: 822871 $ $Date: 2009-10-07 12:37:13 -0700 (Wed, 07 Oct 2009) $
*/
public class JavaEEModuleHelper {
public AppModule getMetadataCompleteModules(String jarFilePath) throws ContributionReadException {
DeploymentLoader loader = new DeploymentLoader();
AppModule appModule = null;
try {
appModule = loader.load(new File(jarFilePath));
} catch (OpenEJBException e) {
throw new ContributionReadException(e);
}
// Set the Thread context class loader as the module's class loader and all the Web and EJB modules