253254255256257258259260261262263
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;
76777879808182838485
{ addBeanXml(new URL(url)); } catch (MalformedURLException e) { throw new WebBeansDeploymentException("could not convert to URL: " + url, e); } } } }
7576777879808182
annotationDB.setScanMethodAnnotations(true); annotationDB.setScanParameterAnnotations(true); } catch(Exception e) { throw new WebBeansDeploymentException(e); } }
93949596979899100
{ configure(); } catch (Exception e) { throw new WebBeansDeploymentException(e); } }
598599600601602603604605606607608
xmlConfigurator.configure(fis, url.toExternalForm(), scanner); } catch (IOException e) { throw new WebBeansDeploymentException("Error configuring: filename: " + url.toExternalForm() , e); } finally { if (fis != null) {
668669670671672673674675676677678
//configure specialized producer beans. webBeansContext.getWebBeansUtil().configureProducerMethodSpecializations(); } catch(Exception e) { throw new WebBeansDeploymentException(e); } logger.debug("Checking Specialization constraints has ended."); }
104105106107108109110111112113114
// search for all classes findBeanClasses(mainBundle, packageAdmin); } catch(Exception e) { throw new WebBeansDeploymentException("problem while scanning OSGi bundle", e); } finally { mainBundle.getBundleContext().ungetService(reference); }
243244245246247248249250251252253
579580581582583584585586587588589
this.xmlConfigurator.configure(fis, url.toExternalForm(), scanner); } catch (IOException e) { throw new WebBeansDeploymentException("Error configuring: filename: " + url.toExternalForm() , e); } finally { if (fis != null) {