gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-23 08:13:05 27 4
gpt4 key购买 nike

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

WeldDeployment.setBeanDeploymentArchivesAccessibility介绍

[英]By default all bean archives see each other.
[中]默认情况下,所有bean存档都会看到彼此。

代码示例

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

代码示例来源: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-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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

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

/**
 *
 * @param resourceLoader
 * @param bootstrap
 * @param beanDeploymentArchives The set should be mutable so that additional bean deployment archives can be eventually added
 * @param extensions
 */
public WeldDeployment(ResourceLoader resourceLoader, Bootstrap bootstrap, Set<WeldBeanDeploymentArchive> beanDeploymentArchives,
    Iterable<Metadata<Extension>> extensions) {
  super(bootstrap, extensions);
  this.beanDeploymentArchives = beanDeploymentArchives;
  setBeanDeploymentArchivesAccessibility();
  getServices().add(ResourceLoader.class, resourceLoader);
}

代码示例来源: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;
}

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