本文整理汇总了Java中org.kuali.rice.core.api.config.property.ConfigContext.destroy方法的典型用法代码示例。如果您正苦于以下问题:Java ConfigContext.destroy方法的具体用法?Java ConfigContext.destroy怎么用?Java ConfigContext.destroy使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.kuali.rice.core.api.config.property.ConfigContext
的用法示例。
在下文中一共展示了ConfigContext.destroy方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setUp
import org.kuali.rice.core.api.config.property.ConfigContext; //导入方法依赖的package包/类
@Override
public void setUp() throws Exception {
// because we're stopping and starting so many times we need to clear
// the core before another set of RLs get put in the core. This is
// because we are sometimes using the GRL to fetch a specific servers
// spring file out for testing purposes.
ConfigContext.destroy();
// Turn off http keep-alive. Repeated jetty start/stop using same port
// results sockets held by client not to close properly, resulting in
// cxf test failures.
System.setProperty("http.keepAlive", "false");
super.setUp();
if (startClient1() || startClient2()) {
KsbApiServiceLocator.getServiceBus().synchronize();
}
}
示例2: tearDown
import org.kuali.rice.core.api.config.property.ConfigContext; //导入方法依赖的package包/类
@After
public void tearDown() throws Exception {
if (context != null) {
context.destroy();
}
ConfigContext.destroy();
}
示例3: tearDown
import org.kuali.rice.core.api.config.property.ConfigContext; //导入方法依赖的package包/类
@After
public void tearDown() {
if (context != null) {
context.destroy();
}
if (ConfigContext.isInitialized()) {
ConfigContext.destroy();
}
Jta.reset();
if (this.builder != null) {
this.builder.clear();
}
}
示例4: clearContext
import org.kuali.rice.core.api.config.property.ConfigContext; //导入方法依赖的package包/类
@After
public void clearContext(){
ConfigContext.destroy();
}
示例5: tearDown
import org.kuali.rice.core.api.config.property.ConfigContext; //导入方法依赖的package包/类
@After
public void tearDown() throws Exception {
Jta.reset();
ConfigContext.destroy();
}