org.apache.openejb.assembler.classic.WsBuilder.toHandlerChainData()方法的使用及代码示例

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

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

WsBuilder.toHandlerChainData介绍

暂无

代码示例

代码示例来源:origin: org.apache.tomee/openejb-core

public static PortData toPortData(final PortInfo port, final Collection<Injection> injections, final URL baseUrl, final ClassLoader classLoader) throws OpenEJBException {
  final PortData portData = new PortData();
  portData.setPortId(port.portId);
  if (port.serviceName != null && port.serviceName.length() != 0) {
    portData.setServiceName(QName.valueOf(port.serviceName));
  }
  if (port.portName != null && port.portName.length() != 0) {
    portData.setPortName(QName.valueOf(port.portName));
  }
  portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
  portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
  portData.getInjections().addAll(injections);
  portData.setMtomEnabled(port.mtomEnabled);
  portData.setBindingID(port.binding);
  portData.setWsdlPort(port.wsdlPort);
  portData.setWsdlService(port.wsdlService);
  portData.setLocation(port.location);
  portData.setSecure("WS-SECURITY".equals(port.authMethod));
  portData.setProperties(port.properties);
  return portData;
}

代码示例来源:origin: org.apache.openejb/openejb-core

public static PortData toPortData(final PortInfo port, final Collection<Injection> injections, final URL baseUrl, final ClassLoader classLoader) throws OpenEJBException {
  final PortData portData = new PortData();
  portData.setPortId(port.portId);
  if (port.serviceName != null && port.serviceName.length() != 0) {
    portData.setServiceName(QName.valueOf(port.serviceName));
  }
  if (port.portName != null && port.portName.length() != 0) {
    portData.setPortName(QName.valueOf(port.portName));
  }
  portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
  portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
  portData.getInjections().addAll(injections);
  portData.setMtomEnabled(port.mtomEnabled);
  portData.setBindingID(port.binding);
  portData.setWsdlPort(port.wsdlPort);
  portData.setWsdlService(port.wsdlService);
  portData.setLocation(port.location);
  portData.setSecure("WS-SECURITY".equals(port.authMethod));
  portData.setProperties(port.properties);
  return portData;
}

代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-core

public static PortData toPortData(PortInfo port, Collection<Injection> injections, URL baseUrl, ClassLoader classLoader) throws OpenEJBException {
  PortData portData = new PortData();
  portData.setPortId(port.portId);
  if (port.serviceName != null && port.serviceName.length() != 0) {
    portData.setServiceName(QName.valueOf(port.serviceName));
  }
  if (port.portName != null && port.portName.length() != 0) {
    portData.setPortName(QName.valueOf(port.portName));
  }
  portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
  portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
  portData.getInjections().addAll(injections);
  portData.setMtomEnabled(port.mtomEnabled);
  portData.setBindingID(port.binding);
  portData.setWsdlPort(port.wsdlPort);
  portData.setWsdlService(port.wsdlService);
  portData.setLocation(port.location);
  portData.setSecure("WS-SECURITY".equals(port.authMethod));
  if (portData.isSecure()) {
  portData.setSecurityProperties(port.properties);
}
  return portData;
}

代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-core

handlerChains = WsBuilder.toHandlerChainData(referenceInfo.handlerChains, classLoader);

代码示例来源:origin: org.apache.openejb/openejb-core

handlerChains = WsBuilder.toHandlerChainData(referenceInfo.handlerChains, classLoader);

代码示例来源:origin: org.apache.tomee/openejb-core

handlerChains = WsBuilder.toHandlerChainData(referenceInfo.handlerChains, classLoader);

代码示例来源:origin: org.apache.openejb/tomee-catalina

List<HandlerChainData> handlerChains = WsBuilder.toHandlerChainData(ref.handlerChains, standardContext.getLoader().getClassLoader());
setResource(resource, "handler-chains", handlerChains);
setResource(resource, "injections", injections);

代码示例来源:origin: org.apache.tomee/tomee-catalina

final List<HandlerChainData> handlerChains = WsBuilder.toHandlerChainData(ref.handlerChains, standardContext.getLoader().getClassLoader());
setResource(resource, "handler-chains", handlerChains);
setResource(resource, "injections", injections);

代码示例来源:origin: org.apache.openejb/openejb-tomcat-catalina

List<HandlerChainData> handlerChains = WsBuilder.toHandlerChainData(ref.handlerChains, standardContext.getLoader().getClassLoader());
setResource(resource, "handler-chains", handlerChains);
setResource(resource, "injections", injections);

相关文章