try {
in = new FileInputStream(moduleInfo);
} catch(FileNotFoundException fne) {
throw new RepositoryException (fne);
}
SunEjbJar sunEjbJar = null;
try {
sunEjbJar = SunEjbJar.createGraph(in);
} catch (Schema2BeansException sce) {
throw new RepositoryException (sce);
}
// bundle name is null for stand alone module
boolean isAppStandAloneModule = (bundleName==null) ? true : false;
// all ejbs in this module
EnterpriseBeans eBeans = sunEjbJar.getEnterpriseBeans();
Ejb[] ejbs = eBeans.getEjb();
HashMap wsMap = new HashMap();
for (int ejbCnt =0; ejbCnt < ejbs.length; ejbCnt++) {
Ejb ejb = ejbs[ejbCnt];