364365366367368369370371372373374
//configure specialized producer beans. webBeansContext.getWebBeansUtil().configureProducerMethodSpecializations(); } catch (Exception e) { throw new WebBeansDeploymentException(e); } logger.debug("Checking Specialization constraints has ended."); }
122123124125126127128129130131132
findBeanClasses(mainBundle, packageAdmin); } } catch(Exception e) { throw new WebBeansDeploymentException("problem while scanning OSGi bundle", e); } finally { mainBundle.getBundleContext().ungetService(reference); }
224225226227228229230231232233234
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;
600601602603604605606607608609610
xmlConfigurator.configure(fis, url.toExternalForm(), scanner); } catch (IOException e) { throw new WebBeansDeploymentException("Error configuring: filename: " + url.toExternalForm() , e); } finally { if (fis != null) {
670671672673674675676677678679680
//configure specialized producer beans. webBeansContext.getWebBeansUtil().configureProducerMethodSpecializations(); } catch(Exception e) { throw new WebBeansDeploymentException(e); } logger.fine("Checking Specialization constraints has ended."); }
7879808182838485
annotationDB.setScanMethodAnnotations(true); annotationDB.setScanParameterAnnotations(true); } catch(Exception e) { throw new WebBeansDeploymentException(e); } }
96979899100101102103
{ configure(); } catch (Exception e) { throw new WebBeansDeploymentException(e); } }
81828384858687888990
{ addBeanXml(new URL(url)); } catch (MalformedURLException e) { throw new WebBeansDeploymentException("could not convert to URL: " + url, e); } } } }
105106107108109110111112113114115
// search for all classes findBeanClasses(mainBundle, packageAdmin); } catch(Exception e) { throw new WebBeansDeploymentException("problem while scanning OSGi bundle", e); } finally { mainBundle.getBundleContext().ungetService(reference); }
244245246247248249250251252253254