367368369370371372373374375376377
this.xmlConfigurator.configure(fis, fileName); } catch (IOException e) { throw new WebBeansDeploymentException(e); } finally { if (fis != null) {
492493494495496497498499500501502
// XML Defined Specializations checkXMLSpecializations(); } catch(Exception e) { throw new WebBeansDeploymentException(e); } logger.info("Checking Specialization constraints is ended"); }
371372373374375376377378379380381
//configure specialized producer beans. webBeansContext.getWebBeansUtil().configureProducerMethodSpecializations(); } catch (Exception e) { throw new WebBeansDeploymentException(e); } logger.debug("Checking Specialization constraints has ended."); }
109110111112113114115116117118119
// search for all classes findBeanClasses(mainBundle, packageAdmin); } catch(Exception e) { throw new WebBeansDeploymentException("problem while scanning OSGi bundle", e); } finally { mainBundle.getBundleContext().ungetService(reference); }
256257258259260261262263264265266
continue; } if (webBeansXmlFound) { throw new WebBeansDeploymentException("found more than WEB-INF/beans.xml file!" + webBeansXml); } logger.info("adding the following WEB-INF/beans.xml URL: " + webBeansXml); beanXMLs.add(webBeansXml); webBeansXmlFound = true;
116117118119120121122123
configure(); initFinder(); } catch (Exception e) { throw new WebBeansDeploymentException(e); } }