本文整理了Java中org.jboss.wsf.spi.deployment.Endpoint.setAddress()
方法的一些代码示例,展示了Endpoint.setAddress()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Endpoint.setAddress()
方法的具体详情如下:
包路径:org.jboss.wsf.spi.deployment.Endpoint
类名称:Endpoint
方法名:setAddress
[英]Set endpoint address
[中]设置端点地址
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
@Override
public void setEndpointAddress(String endpointAddress)
{
if (endpoint == null)
throw NativeMessages.MESSAGES.endpointNotAvailable();
endpoint.setAddress(endpointAddress);
}
代码示例来源:origin: org.jboss.as/jboss-as-webservices-server-integration
/**
* Creates new JMS Web Service endpoint.
*
* @param endpointClass endpoint class name
* @param endpointName endpoint name
* @param dep deployment
* @return WS endpoint
*/
protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
if (endpointName == null) throw MESSAGES.nullEndpointName();
if (endpointClass == null) throw MESSAGES.nullEndpointClass();
final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
endpoint.setAddress(soapAddress);
endpoint.setShortName(endpointName);
endpoint.setType(endpointType);
dep.getService().addEndpoint(endpoint);
return endpoint;
}
代码示例来源:origin: org.jboss.eap/wildfly-webservices-server-integration
/**
* Creates new JMS Web Service endpoint.
*
* @param endpointClass endpoint class name
* @param endpointName endpoint name
* @param dep deployment
* @return WS endpoint
*/
protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
if (endpointName == null) throw WSLogger.ROOT_LOGGER.nullEndpointName();
if (endpointClass == null) throw WSLogger.ROOT_LOGGER.nullEndpointClass();
final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
endpoint.setAddress(soapAddress);
endpoint.setShortName(endpointName);
endpoint.setType(endpointType);
dep.getService().addEndpoint(endpoint);
return endpoint;
}
代码示例来源:origin: org.wildfly/wildfly-webservices-server-integration
/**
* Creates new JMS Web Service endpoint.
*
* @param endpointClass endpoint class name
* @param endpointName endpoint name
* @param dep deployment
* @return WS endpoint
*/
protected final Endpoint newJMSEndpoint(final String endpointClass, final String endpointName, final String soapAddress, final Deployment dep) {
if (endpointName == null) throw WSLogger.ROOT_LOGGER.nullEndpointName();
if (endpointClass == null) throw WSLogger.ROOT_LOGGER.nullEndpointClass();
final Endpoint endpoint = deploymentModelFactory.newJMSEndpoint(endpointClass);
endpoint.setAddress(soapAddress);
endpoint.setShortName(endpointName);
endpoint.setType(endpointType);
dep.getService().addEndpoint(endpoint);
return endpoint;
}
内容来源于网络,如有侵权,请联系作者删除!