org.jboss.wsf.spi.deployment.Endpoint.setAddress()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.6k)|赞(0)|评价(0)|浏览(151)

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

Endpoint.setAddress介绍

[英]Set endpoint address
[中]设置端点地址

代码示例

代码示例来源:origin: org.jboss.ws.native/jbossws-native-core

  1. @Override
  2. public void setEndpointAddress(String endpointAddress)
  3. {
  4. if (endpoint == null)
  5. throw NativeMessages.MESSAGES.endpointNotAvailable();
  6. endpoint.setAddress(endpointAddress);
  7. }

代码示例来源:origin: org.jboss.as/jboss-as-webservices-server-integration

  1. /**
  2. * Creates new JMS Web Service endpoint.
  3. *
  4. * @param endpointClass endpoint class name
  5. * @param endpointName endpoint name
  6. * @param dep deployment
  7. * @return WS endpoint
  8. */
  9. protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
  10. if (endpointName == null) throw MESSAGES.nullEndpointName();
  11. if (endpointClass == null) throw MESSAGES.nullEndpointClass();
  12. final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
  13. endpoint.setAddress(soapAddress);
  14. endpoint.setShortName(endpointName);
  15. endpoint.setType(endpointType);
  16. dep.getService().addEndpoint(endpoint);
  17. return endpoint;
  18. }

代码示例来源:origin: org.jboss.eap/wildfly-webservices-server-integration

  1. /**
  2. * Creates new JMS Web Service endpoint.
  3. *
  4. * @param endpointClass endpoint class name
  5. * @param endpointName endpoint name
  6. * @param dep deployment
  7. * @return WS endpoint
  8. */
  9. protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
  10. if (endpointName == null) throw WSLogger.ROOT_LOGGER.nullEndpointName();
  11. if (endpointClass == null) throw WSLogger.ROOT_LOGGER.nullEndpointClass();
  12. final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
  13. endpoint.setAddress(soapAddress);
  14. endpoint.setShortName(endpointName);
  15. endpoint.setType(endpointType);
  16. dep.getService().addEndpoint(endpoint);
  17. return endpoint;
  18. }

代码示例来源:origin: org.wildfly/wildfly-webservices-server-integration

  1. /**
  2. * Creates new JMS Web Service endpoint.
  3. *
  4. * @param endpointClass endpoint class name
  5. * @param endpointName endpoint name
  6. * @param dep deployment
  7. * @return WS endpoint
  8. */
  9. protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
  10. if (endpointName == null) throw WSLogger.ROOT_LOGGER.nullEndpointName();
  11. if (endpointClass == null) throw WSLogger.ROOT_LOGGER.nullEndpointClass();
  12. final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
  13. endpoint.setAddress(soapAddress);
  14. endpoint.setShortName(endpointName);
  15. endpoint.setType(endpointType);
  16. dep.getService().addEndpoint(endpoint);
  17. return endpoint;
  18. }

相关文章