- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeployment.getServiceEndpoints()
方法的一些代码示例,展示了WebServiceDeployment.getServiceEndpoints()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebServiceDeployment.getServiceEndpoints()
方法的具体详情如下:
包路径:org.jboss.wsf.spi.deployment.integration.WebServiceDeployment
类名称:WebServiceDeployment
方法名:getServiceEndpoints
暂无
代码示例来源:origin: org.jboss.ws/jbossws-jboss600M2
/**
* Gets list of JAXWS EJBs meta data.
*
* @param unit deployment unit
* @return list of JAXWS EJBs meta data
*/
public static List<WebServiceDeclaration> getJaxwsEjbs(final DeploymentUnit unit)
{
final WebServiceDeployment wsDeployment = ASHelper.getRequiredAttachment(unit, WebServiceDeployment.class);
final List<WebServiceDeclaration> endpoints = new ArrayList<WebServiceDeclaration>();
final Iterator<WebServiceDeclaration> ejbIterator = wsDeployment.getServiceEndpoints().iterator();
while (ejbIterator.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbIterator.next();
if (ASHelper.isWebServiceBean(ejbContainer))
{
endpoints.add(ejbContainer);
}
}
return endpoints;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss500x
@Override
public boolean isWebServiceDeployment(DeploymentUnit unit)
{
WebServiceDeployment webServiceDeployment = unit.getAttachment(WebServiceDeployment.class);
if (null == webServiceDeployment )
return false;
boolean isWebServiceDeployment = false;
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
if (isWebServiceBean(container))
{
isWebServiceDeployment = true;
break;
}
}
return isWebServiceDeployment;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss501CR1
@Override
public boolean isWebServiceDeployment(DeploymentUnit unit)
{
WebServiceDeployment webServiceDeployment = unit.getAttachment(WebServiceDeployment.class);
if (null == webServiceDeployment )
return false;
boolean isWebServiceDeployment = false;
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
if (isWebServiceBean(container))
{
isWebServiceDeployment = true;
break;
}
}
return isWebServiceDeployment;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510
/**
* Gets list of JAXWS EJBs meta data.
*
* @param unit deployment unit
* @return list of JAXWS EJBs meta data
*/
public static List<WebServiceDeclaration> getJaxwsEjbs(final DeploymentUnit unit)
{
final WebServiceDeployment wsDeployment = ASHelper.getRequiredAttachment(unit, WebServiceDeployment.class);
final List<WebServiceDeclaration> endpoints = new ArrayList<WebServiceDeclaration>();
final Iterator<WebServiceDeclaration> ejbIterator = wsDeployment.getServiceEndpoints().iterator();
while (ejbIterator.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbIterator.next();
if (ASHelper.isWebServiceBean(ejbContainer))
{
endpoints.add(ejbContainer);
}
}
return endpoints;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510x
@Override
public boolean isWebServiceDeployment(DeploymentUnit unit)
{
WebServiceDeployment webServiceDeployment = unit.getAttachment(WebServiceDeployment.class);
if (null == webServiceDeployment )
return false;
boolean isWebServiceDeployment = false;
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
if (isWebServiceBean(container))
{
isWebServiceDeployment = true;
break;
}
}
return isWebServiceDeployment;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss501
/**
* Gets list of JAXWS EJBs meta data.
*
* @param unit deployment unit
* @return list of JAXWS EJBs meta data
*/
public static List<WebServiceDeclaration> getJaxwsEjbs(final DeploymentUnit unit)
{
final WebServiceDeployment wsDeployment = ASHelper.getRequiredAttachment(unit, WebServiceDeployment.class);
final List<WebServiceDeclaration> endpoints = new ArrayList<WebServiceDeclaration>();
final Iterator<WebServiceDeclaration> ejbIterator = wsDeployment.getServiceEndpoints().iterator();
while (ejbIterator.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbIterator.next();
if (ASHelper.isWebServiceBean(ejbContainer))
{
endpoints.add(ejbContainer);
}
}
return endpoints;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss600x
@Override
public boolean isWebServiceDeployment(DeploymentUnit unit)
{
WebServiceDeployment webServiceDeployment = unit.getAttachment(WebServiceDeployment.class);
if (null == webServiceDeployment )
return false;
boolean isWebServiceDeployment = false;
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
if (isWebServiceBean(container))
{
isWebServiceDeployment = true;
break;
}
}
return isWebServiceDeployment;
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510
/**
* @see AbstractMetaDataBuilderEJB#buildEnterpriseBeansMetaData(Deployment, EJBArchiveMetaData)
*
* @param dep webservice deployment
* @param ejbArchiveMD EJB archive meta data
*/
@Override
protected void buildEnterpriseBeansMetaData(final Deployment dep, final EJBArchiveMetaData ejbArchiveMD)
{
final WebServiceDeployment ejb3Deployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
final List<EJBMetaData> wsEjbsMD = new LinkedList<EJBMetaData>();
for (final WebServiceDeclaration jbossEjbMD : ejb3Deployment.getServiceEndpoints())
{
this.buildEnterpriseBeanMetaData(wsEjbsMD, jbossEjbMD);
}
ejbArchiveMD.setEnterpriseBeans(wsEjbsMD);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss600M2
/**
* @see AbstractMetaDataBuilderEJB#buildEnterpriseBeansMetaData(Deployment, EJBArchiveMetaData)
*
* @param dep webservice deployment
* @param ejbArchiveMD EJB archive meta data
*/
@Override
protected void buildEnterpriseBeansMetaData(final Deployment dep, final EJBArchiveMetaData ejbArchiveMD)
{
final WebServiceDeployment ejb3Deployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
final List<EJBMetaData> wsEjbsMD = new LinkedList<EJBMetaData>();
for (final WebServiceDeclaration jbossEjbMD : ejb3Deployment.getServiceEndpoints())
{
this.buildEnterpriseBeanMetaData(wsEjbsMD, jbossEjbMD);
}
ejbArchiveMD.setEnterpriseBeans(wsEjbsMD);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss600M2
/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 3 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
String securityDomain = null;
final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();
while (ejbContainers.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbContainers.next();
final SecurityDomain nextSecurityDomain = ejbContainer.getAnnotation(SecurityDomain.class);
securityDomain = this.getDomain(securityDomain, nextSecurityDomain);
}
return super.appendJaasPrefix(securityDomain);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss501
/**
* @see AbstractMetaDataBuilderEJB#buildEnterpriseBeansMetaData(Deployment, EJBArchiveMetaData)
*
* @param dep webservice deployment
* @param ejbArchiveMD EJB archive meta data
*/
@Override
protected void buildEnterpriseBeansMetaData(final Deployment dep, final EJBArchiveMetaData ejbArchiveMD)
{
final WebServiceDeployment ejb3Deployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
final List<EJBMetaData> wsEjbsMD = new LinkedList<EJBMetaData>();
for (final WebServiceDeclaration jbossEjbMD : ejb3Deployment.getServiceEndpoints())
{
this.buildEnterpriseBeanMetaData(wsEjbsMD, jbossEjbMD);
}
ejbArchiveMD.setEnterpriseBeans(wsEjbsMD);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss501
/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 3 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
String securityDomain = null;
final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();
while (ejbContainers.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbContainers.next();
final SecurityDomain nextSecurityDomain = ejbContainer.getAnnotation(SecurityDomain.class);
securityDomain = this.getDomain(securityDomain, nextSecurityDomain);
}
return super.appendJaasPrefix(securityDomain);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510
/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityDomain(Deployment)
*
* @param dep webservice deployment
* @return security domain associated with EJB 3 deployment
*/
public String getSecurityDomain(final Deployment dep)
{
final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
String securityDomain = null;
final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();
while (ejbContainers.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbContainers.next();
final SecurityDomain nextSecurityDomain = ejbContainer.getAnnotation(SecurityDomain.class);
securityDomain = this.getDomain(securityDomain, nextSecurityDomain);
}
return super.appendJaasPrefix(securityDomain);
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510x
public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
String securityDomain = null;
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
SecurityDomain anSecurityDomain = container.getAnnotation(SecurityDomain.class);
if (anSecurityDomain != null)
{
if (securityDomain != null && !securityDomain.equals(anSecurityDomain.value()))
throw new IllegalStateException("Multiple security domains not supported");
securityDomain = anSecurityDomain.value();
}
}
}
if (securityDomain != null)
{
if (securityDomain.startsWith("java:/jaas/") == false)
securityDomain = "java:/jaas/" + securityDomain;
jbossWeb.setSecurityDomain(securityDomain);
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss500x
public void addSecurityDomain(JBossWebMetaData jbossWeb, Deployment dep)
{
String securityDomain = null;
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
SecurityDomain anSecurityDomain = container.getAnnotation(SecurityDomain.class);
if (anSecurityDomain != null)
{
if (securityDomain != null && !securityDomain.equals(anSecurityDomain.value()))
throw new IllegalStateException("Multiple security domains not supported");
securityDomain = anSecurityDomain.value();
}
}
}
if (securityDomain != null)
{
if (securityDomain.startsWith("java:/jaas/") == false)
securityDomain = "java:/jaas/" + securityDomain;
jbossWeb.setSecurityDomain(securityDomain);
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss500x
public void addSecurityRoles(JBossWebMetaData webApp, Deployment dep)
{
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
RolesAllowed anRolesAllowed = container.getAnnotation(RolesAllowed.class);
if (anRolesAllowed != null)
{
SecurityRolesMetaData securityRoles = webApp.getSecurityRoles();
for (String roleName : anRolesAllowed.value())
{
SecurityRoleMetaData role = new SecurityRoleMetaData();
role.setRoleName(roleName);
securityRoles.add(role);
}
}
}
}
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss600x
public void addSecurityRoles(JBossWebMetaData webApp, Deployment dep)
{
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
RolesAllowed anRolesAllowed = container.getAnnotation(RolesAllowed.class);
if (anRolesAllowed != null)
{
SecurityRolesMetaData securityRoles = webApp.getSecurityRoles();
for (String roleName : anRolesAllowed.value())
{
SecurityRoleMetaData role = new SecurityRoleMetaData();
role.setRoleName(roleName);
securityRoles.add(role);
}
}
}
}
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510x
public void addSecurityRoles(JBossWebMetaData webApp, Deployment dep)
{
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
RolesAllowed anRolesAllowed = container.getAnnotation(RolesAllowed.class);
if (anRolesAllowed != null)
{
SecurityRolesMetaData securityRoles = webApp.getSecurityRoles();
for (String roleName : anRolesAllowed.value())
{
SecurityRoleMetaData role = new SecurityRoleMetaData();
role.setRoleName(roleName);
securityRoles.add(role);
}
}
}
}
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss501CR1
public void addSecurityRoles(JBossWebMetaData webApp, Deployment dep)
{
WebServiceDeployment webServiceDeployment = dep.getAttachment(WebServiceDeployment.class);
if (webServiceDeployment != null)
{
Iterator<WebServiceDeclaration> it = webServiceDeployment.getServiceEndpoints().iterator();
while (it.hasNext())
{
WebServiceDeclaration container = it.next();
RolesAllowed anRolesAllowed = container.getAnnotation(RolesAllowed.class);
if (anRolesAllowed != null)
{
SecurityRolesMetaData securityRoles = webApp.getSecurityRoles();
for (String roleName : anRolesAllowed.value())
{
SecurityRoleMetaData role = new SecurityRoleMetaData();
role.setRoleName(roleName);
securityRoles.add(role);
}
}
}
}
}
}
代码示例来源:origin: org.jboss.ws/jbossws-jboss510
/**
* @see org.jboss.webservices.integration.tomcat.AbstractSecurityMetaDataAccessorEJB#getSecurityRoles(Deployment)
*
* @param dep webservice deployment
* @return security roles associated with EJB 21 deployment
*/
public SecurityRolesMetaData getSecurityRoles(final Deployment dep)
{
final WebServiceDeployment wsDeployment = WSHelper.getRequiredAttachment(dep, WebServiceDeployment.class);
final SecurityRolesMetaData securityRolesMD = new SecurityRolesMetaData();
final Iterator<WebServiceDeclaration> ejbContainers = wsDeployment.getServiceEndpoints().iterator();
while (ejbContainers.hasNext())
{
final WebServiceDeclaration ejbContainer = ejbContainers.next();
final RolesAllowed allowedRoles = ejbContainer.getAnnotation(RolesAllowed.class);
final boolean hasAllowedRoles = allowedRoles != null;
if (hasAllowedRoles)
{
for (final String roleName : allowedRoles.value())
{
final SecurityRoleMetaData securityRoleMD = new SecurityRoleMetaData();
securityRoleMD.setRoleName(roleName);
securityRolesMD.add(securityRoleMD);
}
}
}
return securityRolesMD;
}
本文整理了Java中org.jboss.wsf.spi.WSFException类的一些代码示例,展示了WSFException类的具体用法。这些代码示例主要来源于Github/Stackoverfl
一直在用Savon到目前为止我的网络服务的东西,但现在需要与更“安全”的服务交谈,需要 WS Addressing 和 WS Security Extensions。 已开始扩展此 fork Savo
我一直试图在wsdl模式下使用wsclient使用服务,但响应始终是一个带有空字符串的数组。 我正在使用wso2 wsf for php(wso2 web services framework for
本文整理了Java中org.jboss.wsf.spi.WSFException.setStackTrace()方法的一些代码示例,展示了WSFException.setStackTrace()的具体
本文整理了Java中org.jboss.wsf.spi.WSFException.()方法的一些代码示例,展示了WSFException.()的具体用法。这些代码示例主要来源于Github/Stack
本文整理了Java中org.jboss.wsf.spi.WSFException.getStackTrace()方法的一些代码示例,展示了WSFException.getStackTrace()的具体
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeployment类的一些代码示例,展示了WebServiceDeploym
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeclaration类的一些代码示例,展示了WebServiceDeclar
使用安装 wsf/php 2.1 后 ./configure --enable-libxml2 --disable-savan make sudo make install 除了安全示例之外,所有示例
我想在 Windows 上自动执行 telnet session 的任务,以便我可以使用不同的值多次运行它。 我有一个 .wsf 脚本,用于使用硬编码值执行该任务一次。 如何参数化 .wsf 脚本的值
我正在尝试安装 WSO2 WSF/PHP 扩展以将 SOAP 与 WSSE 结合使用。我在编译源代码时遇到了问题,我需要从他们的存储库中 checkout trunk (而不是标签 2.1),我修复了
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeployment.getServiceEndpoints()方法的一些代码
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeclaration.getAnnotation()方法的一些代码示例,展示
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeclaration.getComponentName()方法的一些代码示例
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeclaration.getComponentClassName()方法的一
本文整理了Java中org.jboss.wsf.spi.deployment.integration.WebServiceDeclaration.getContainerName()方法的一些代码示例
我正在尝试让 Application.WorksheetFunction.SumProduct wsf.CountIfs 与 4 个数组一起使用。到目前为止,我总是得到不正确的结果 a1 和 b1 :
我有一个生产应用程序完美运行了 2 年,它停止了 Web 客户端的工作,但我的客户端在互联网上使用的 URL 已发布并且运行良好。我意识到,如果我将 URL 更改为 http,网络客户端就可以工作了。
对于 PHP 5.3+,我在安装说明的制作阶段遇到此错误; Making all in savanc /bin/bash: line 17: cd: savanc: No such file or d
我是一名优秀的程序员,十分优秀!