本文整理了Java中org.jboss.weld.environment.se.Weld.property()
方法的一些代码示例,展示了Weld.property()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Weld.property()
方法的具体详情如下:
包路径:org.jboss.weld.environment.se.Weld
类名称:Weld
方法名:property
[英]Set the configuration property.
[中]设置配置属性。
代码示例来源:origin: weld/core
@Override
public Weld addProperty(String key, Object value) {
property(key, value);
return this;
}
代码示例来源:origin: weld/core
@Override
public Weld addProperty(String key, Object value) {
property(key, value);
return this;
}
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
/**
* Enable the development mode.
*
* @return self
* @see #DEV_MODE_SYSTEM_PROPERTY
*/
public Weld enableDevMode() {
return property(DEV_MODE_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: weld/core
/**
* Disable bean archive isolation, i.e. use a "flat" deployment structure.
*
* @return self
* @see #ARCHIVE_ISOLATION_SYSTEM_PROPERTY
*/
public Weld disableIsolation() {
return property(ARCHIVE_ISOLATION_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: weld/core
/**
* Skip shutdown hook registration.
*
* @return self
* @see #SHUTDOWN_HOOK_SYSTEM_PROPERTY
*/
public Weld skipShutdownHook() {
return property(SHUTDOWN_HOOK_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: org.jboss.weld.se/weld-se
/**
* Skip shutdown hook registration.
*
* @return self
* @see #SHUTDOWN_HOOK_SYSTEM_PROPERTY
*/
public Weld skipShutdownHook() {
return property(SHUTDOWN_HOOK_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: weld/core
/**
* Enable the development mode.
*
* @return self
* @see #DEV_MODE_SYSTEM_PROPERTY
*/
public Weld enableDevMode() {
return property(DEV_MODE_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: org.jboss.weld.se/weld-se
/**
* Disable bean archive isolation, i.e. use a "flat" deployment structure.
*
* @return self
* @see #ARCHIVE_ISOLATION_SYSTEM_PROPERTY
*/
public Weld disableIsolation() {
return property(ARCHIVE_ISOLATION_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: org.jboss.weld.se/weld-se
/**
* Scans the class path entries - implicit bean archives which don't contain a beans.xml file are supported.
*
* @return self
* @see #SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY
*/
public Weld scanClasspathEntries() {
return property(SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: org.jboss.weld.se/weld-se
/**
* Enable the development mode.
*
* @return self
* @see #DEV_MODE_SYSTEM_PROPERTY
*/
public Weld enableDevMode() {
return property(DEV_MODE_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: weld/core
/**
* Skip shutdown hook registration.
*
* @return self
* @see #SHUTDOWN_HOOK_SYSTEM_PROPERTY
*/
public Weld skipShutdownHook() {
return property(SHUTDOWN_HOOK_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: weld/core
/**
* Scans the class path entries - implicit bean archives which don't contain a beans.xml file are supported.
*
* @return self
* @see #SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY
*/
public Weld scanClasspathEntries() {
return property(SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: weld/core
/**
* Disable bean archive isolation, i.e. use a "flat" deployment structure.
*
* @return self
* @see #ARCHIVE_ISOLATION_SYSTEM_PROPERTY
*/
public Weld disableIsolation() {
return property(ARCHIVE_ISOLATION_SYSTEM_PROPERTY, false);
}
代码示例来源:origin: weld/core
/**
* Scans the class path entries - implicit bean archives which don't contain a beans.xml file are supported.
*
* @return self
* @see #SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY
*/
public Weld scanClasspathEntries() {
return property(SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: weld/core
/**
* Enable the development mode.
*
* @return self
* @see #DEV_MODE_SYSTEM_PROPERTY
*/
public Weld enableDevMode() {
return property(DEV_MODE_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: org.jboss.weld.se/weld-se-shaded
/**
* Scans the class path entries - implicit bean archives which don't contain a beans.xml file are supported.
*
* @return self
* @see #SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY
*/
public Weld scanClasspathEntries() {
return property(SCAN_CLASSPATH_ENTRIES_SYSTEM_PROPERTY, true);
}
代码示例来源:origin: org.jboss.weld.vertx/weld-vertx-core
/**
*
* @return a default {@link Weld} builder used to configure the Weld container
*/
public static Weld createDefaultWeld() {
return new Weld().property(ConfigurationKey.CONCURRENT_DEPLOYMENT.get(), false);
}
代码示例来源:origin: weld/weld-vertx
/**
*
* @return a default {@link Weld} builder used to configure the Weld container
*/
public static Weld createDefaultWeld() {
return new Weld().property(ConfigurationKey.CONCURRENT_DEPLOYMENT.get(), false);
}
代码示例来源:origin: org.jboss.weld/weld-junit-common
/**
* The returned {@link Weld} instance has:
* <ul>
* <li>automatic discovery disabled</li>
* <li>concurrent deployment disabled</li>
* </ul>
*
* @return a new {@link Weld} instance suitable for testing
*/
public static Weld createWeld() {
return new Weld().disableDiscovery().property(ConfigurationKey.CONCURRENT_DEPLOYMENT.get(), false);
}
代码示例来源:origin: weld/weld-junit
/**
* The returned {@link Weld} instance has:
* <ul>
* <li>automatic discovery disabled</li>
* <li>concurrent deployment disabled</li>
* </ul>
*
* @return a new {@link Weld} instance suitable for testing
*/
public static Weld createWeld() {
return new Weld().disableDiscovery().property(ConfigurationKey.CONCURRENT_DEPLOYMENT.get(), false);
}
内容来源于网络,如有侵权,请联系作者删除!