org.jboss.weld.environment.se.Weld.reset()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(1.2k)|赞(0)|评价(0)|浏览(101)

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

Weld.reset介绍

[英]Reset the synthetic bean archive (bean classes and enablement), explicitly added extensions and services.
[中]重置合成bean存档(bean类和启用),显式添加扩展和服务。

代码示例

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

/**
 * Reset all the state, except for initialized containers.
 *
 * @return self
 * @see Weld#reset()
 */
public Weld resetAll() {
  reset();
  properties.clear();
  enableDiscovery();
  containerId(null);
  return this;
}

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

/**
 * Reset all the state, except for initialized containers.
 *
 * @return self
 * @see Weld#reset()
 */
public Weld resetAll() {
  reset();
  properties.clear();
  enableDiscovery();
  containerId(null);
  return this;
}

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

/**
 * Reset all the state, except for initialized containers.
 *
 * @return self
 * @see Weld#reset()
 */
public Weld resetAll() {
  reset();
  properties.clear();
  enableDiscovery();
  containerId(null);
  return this;
}

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

/**
 * Reset all the state, except for initialized containers.
 *
 * @return self
 * @see Weld#reset()
 */
public Weld resetAll() {
  reset();
  properties.clear();
  enableDiscovery();
  containerId(null);
  return this;
}

相关文章