gpt4 book ai didi

org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive.()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-21 17:01:05 25 4
gpt4 key购买 nike

本文整理了Java中org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive.<init>()方法的一些代码示例,展示了WeldBeanDeploymentArchive.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WeldBeanDeploymentArchive.<init>()方法的具体详情如下:
包路径:org.jboss.weld.environment.deployment.WeldBeanDeploymentArchive
类名称:WeldBeanDeploymentArchive
方法名:<init>

WeldBeanDeploymentArchive.<init>介绍

暂无

代码示例

代码示例来源:origin: weld/core

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = BeansXmlParser.mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: weld/core

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = BeansXmlParser.mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = BeansXmlParser.mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: weld/core

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = BeansXmlParser.mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: org.jboss.weld.se/weld-se-shaded

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = BeansXmlParser.mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: org.jboss.weld.se/weld-se

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, classes, getBeansXml());
}

代码示例来源:origin: weld/core

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: weld/core

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: weld/core

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: org.jboss.weld.se/weld-se-shaded

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: org.jboss.weld.environment/weld-environment-common

/**
 *
 * @return the bean deployment archive
 */
public WeldBeanDeploymentArchive build() {
  Preconditions.checkArgumentNotNull(id, "id");
  return new WeldBeanDeploymentArchive(id, beanClasses, knownClasses, getBeansXml());
}

代码示例来源:origin: org.jboss.weld.se/weld-se

/**
 *
 * @param bootstrap
 * @param archives
 * @return the "flat" bean deployment archive
 */
public static <T extends BeanDeploymentArchive> WeldBeanDeploymentArchive merge(CDI11Bootstrap bootstrap, Iterable<T> archives) {
  BeansXml mergedBeansXml = new BeansXmlParser().mergeExisting(archives, true);
  Set<String> beanClasses = new HashSet<String>();
  for (BeanDeploymentArchive archive : archives) {
    beanClasses.addAll(archive.getBeanClasses());
  }
  return new WeldBeanDeploymentArchive(ManagerObjectFactory.FLAT_BEAN_DEPLOYMENT_ID, beanClasses, mergedBeansXml);
}

代码示例来源:origin: weld/core

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: org.jboss.weld.se/weld-se

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: weld/core

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: weld/core

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: org.jboss.weld.environment/weld-environment-common

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

代码示例来源:origin: org.jboss.weld.se/weld-se-shaded

/**
 * Additional bean deployment archives are used for extentions, synthetic annotated types and beans which do not come from a bean archive.
 *
 * @param beanClass
 * @return the additional bean deployment archive
 */
protected WeldBeanDeploymentArchive createAdditionalBeanDeploymentArchive() {
  WeldBeanDeploymentArchive additionalBda = new WeldBeanDeploymentArchive(ADDITIONAL_BDA_ID, Collections.synchronizedSet(new HashSet<String>()), null);
  additionalBda.getServices().addAll(getServices().entrySet());
  beanDeploymentArchives.add(additionalBda);
  setBeanDeploymentArchivesAccessibility();
  return additionalBda;
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com