本文整理了Java中org.apache.cxf.Bus.setFeatures()
方法的一些代码示例,展示了Bus.setFeatures()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bus.setFeatures()
方法的具体详情如下:
包路径:org.apache.cxf.Bus
类名称:Bus
方法名:setFeatures
暂无
代码示例来源:origin: apache/cxf
public void setFeatures(Collection<? extends Feature> features) {
if (bus != null) {
bus.setFeatures(features);
} else {
this.features = CastUtils.cast(features);
}
}
代码示例来源:origin: org.apache.cxf/cxf-core
public void setFeatures(Collection<? extends Feature> features) {
if (bus != null) {
bus.setFeatures(features);
} else {
this.features = CastUtils.cast(features);
}
}
代码示例来源:origin: apache/cxf
public void setBus(Bus bb) {
if (bus == bb) {
return;
}
if (properties != null) {
bb.setProperties(properties);
properties = null;
}
if (!getInInterceptors().isEmpty()) {
bb.getInInterceptors().addAll(getInInterceptors());
}
if (!getOutInterceptors().isEmpty()) {
bb.getOutInterceptors().addAll(getOutInterceptors());
}
if (!getInFaultInterceptors().isEmpty()) {
bb.getInFaultInterceptors().addAll(getInFaultInterceptors());
}
if (!getOutFaultInterceptors().isEmpty()) {
bb.getOutFaultInterceptors().addAll(getOutFaultInterceptors());
}
if (!StringUtils.isEmpty(id)) {
bb.setId(id);
}
if (features != null) {
bb.setFeatures(features);
features = null;
}
bus = bb;
}
代码示例来源:origin: org.apache.cxf/cxf-core
public void setBus(Bus bb) {
if (bus == bb) {
return;
}
if (properties != null) {
bb.setProperties(properties);
properties = null;
}
if (!getInInterceptors().isEmpty()) {
bb.getInInterceptors().addAll(getInInterceptors());
}
if (!getOutInterceptors().isEmpty()) {
bb.getOutInterceptors().addAll(getOutInterceptors());
}
if (!getInFaultInterceptors().isEmpty()) {
bb.getInFaultInterceptors().addAll(getInFaultInterceptors());
}
if (!getOutFaultInterceptors().isEmpty()) {
bb.getOutFaultInterceptors().addAll(getOutFaultInterceptors());
}
if (!StringUtils.isEmpty(id)) {
bb.setId(id);
}
if (features != null) {
bb.setFeatures(features);
features = null;
}
bus = bb;
}
代码示例来源:origin: org.apache.tomee/openejb-cxf-transport
if (features != null) {
features.addAll(bus.getFeatures());
bus.setFeatures(features);
内容来源于网络,如有侵权,请联系作者删除!