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

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

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

Endpoint.setProperty介绍

暂无

代码示例

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

/**
* Creates new JAXWS EJB3 deployment and registers it with deployment unit.
* 
* @param dep webservice deployment
* @param unit deployment unit
*/
@Override
protected void build(final Deployment dep, final DeploymentUnit unit)
{
 this.getAndPropagateAttachment(WebServiceDeployment.class, unit, dep);
 this.getAndPropagateAttachment(JBossMetaData.class, unit, dep);
 this.log.debug("Creating JAXWS EJB3 endpoints meta data model");
 for (final WebServiceDeclaration container : ASHelper.getJaxwsEjbs(unit))
 {
   final String ejbName = container.getComponentName();
   this.log.debug("EJB3 name: " + ejbName);
   final String ejbClass = container.getComponentClassName();
   this.log.debug("EJB3 class: " + ejbClass);
   final Endpoint ep = this.newEndpoint(ejbClass, ejbName, dep);
   ep.setProperty(ASHelper.CONTAINER_NAME, container.getContainerName());
 }
}

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

/**
* Creates new JAXWS EJB3 deployment and registers it with deployment unit.
* 
* @param dep webservice deployment
* @param unit deployment unit
*/
@Override
protected void build(final Deployment dep, final DeploymentUnit unit)
{
 this.getAndPropagateAttachment(WebServiceDeployment.class, unit, dep);
 this.getAndPropagateAttachment(JBossMetaData.class, unit, dep);
 this.log.debug("Creating JAXWS EJB3 endpoints meta data model");
 for (final WebServiceDeclaration container : ASHelper.getJaxwsEjbs(unit))
 {
   final String ejbName = container.getComponentName();
   this.log.debug("EJB3 name: " + ejbName);
   final String ejbClass = container.getComponentClassName();
   this.log.debug("EJB3 class: " + ejbClass);
   final Endpoint ep = this.newEndpoint(ejbClass, ejbName, dep);
   ep.setProperty(ASHelper.CONTAINER_NAME, container.getContainerName());
 }
}

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

/**
* Creates new JAXWS EJB3 deployment and registers it with deployment unit.
* 
* @param dep webservice deployment
* @param unit deployment unit
*/
@Override
protected void build(final Deployment dep, final DeploymentUnit unit)
{
 this.getAndPropagateAttachment(WebServiceDeployment.class, unit, dep);
 this.getAndPropagateAttachment(JBossMetaData.class, unit, dep);
 this.log.debug("Creating JAXWS EJB3 endpoints meta data model");
 for (final WebServiceDeclaration container : ASHelper.getJaxwsEjbs(unit))
 {
   final String ejbName = container.getComponentName();
   this.log.debug("EJB3 name: " + ejbName);
   final String ejbClass = container.getComponentClassName();
   this.log.debug("EJB3 class: " + ejbClass);
   final Endpoint ep = this.newEndpoint(ejbClass, ejbName, dep);
   ep.setProperty(ASHelper.CONTAINER_NAME, container.getContainerName());
 }
}

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

builder.addAliases(alias);
final String domainName = getDeploymentSecurityDomainName(endpoint, unit);
endpoint.setProperty(SECURITY_DOMAIN_NAME, domainName);
if (isElytronSecurityDomain(endpoint, domainName)) {
  if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {

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

endpoint.setProperty(SECURITY_DOMAIN_NAME, domainName);
if (isElytronSecurityDomain(endpoint, domainName)) {
  if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {

代码示例来源:origin: org.jboss.ws.cxf/jbossws-cxf-server

depEndpoint.setProperty(Message.WSDL_PORT, endpoint.getEndpointName());
depEndpoint.setProperty(Message.WSDL_SERVICE, endpoint.getServiceName());

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  ROOT_LOGGER.creatingEndpointsMetaDataModel("JAXWS", "EJB");
  for (final EJBEndpoint ejbEndpoint : getJaxwsEjbs(unit)) {
    final String ejbEndpointName = ejbEndpoint.getName();
    ROOT_LOGGER.ejbName(ejbEndpointName);
    final String ejbEndpointClassName = ejbEndpoint.getClassName();
    ROOT_LOGGER.ejbClass(ejbEndpointClassName);
    final Endpoint ep = newHttpEndpoint(ejbEndpointClassName, ejbEndpointName, dep);
    ep.setProperty(COMPONENT_VIEW_NAME, ejbEndpoint.getComponentViewName());
  }
}

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  ROOT_LOGGER.creatingEndpointsMetaDataModel("JAXRPC", "EJB");
  for (final EJBEndpoint ejbEndpoint : getJaxrpcEjbs(unit)) {
    final String ejbEndpointName = ejbEndpoint.getName();
    ROOT_LOGGER.ejbName(ejbEndpointName);
    final String ejbEndpointClassName = ejbEndpoint.getClassName();
    ROOT_LOGGER.ejbClass(ejbEndpointClassName);
    final Endpoint ep = newHttpEndpoint(ejbEndpointClassName, ejbEndpointName, dep);
    ep.setProperty(COMPONENT_VIEW_NAME, ejbEndpoint.getComponentViewName());
  }
}

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  ROOT_LOGGER.creatingEndpointsMetaDataModel("JAXWS", "POJO");
  for (final POJOEndpoint pojoEndpoint : getJaxwsPojos(unit)) {
    final String pojoEndpointName = pojoEndpoint.getName();
    ROOT_LOGGER.pojoName(pojoEndpointName);
    final String pojoEndpointClassName = pojoEndpoint.getClassName();
    ROOT_LOGGER.pojoClass(pojoEndpointClassName);
    final Endpoint ep = newHttpEndpoint(pojoEndpointClassName, pojoEndpointName, dep);
    ep.setProperty(COMPONENT_VIEW_NAME, pojoEndpoint.getComponentViewName());
  }
}

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

if(null==containName)
  throw new IllegalArgumentException("Target container name not set");
ep.setProperty(InvocationHandlerEJB3.CONTAINER_NAME, containName);

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

if(null==containName)
  throw new IllegalArgumentException("Target container name not set");
ep.setProperty(InvocationHandlerEJB3.CONTAINER_NAME, containName);

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

if(null==containName)
  throw new IllegalArgumentException("Target container name not set");
ep.setProperty(InvocationHandlerEJB3.CONTAINER_NAME, containName);

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

if(null==containName)
  throw new IllegalArgumentException("Target container name not set");
ep.setProperty(InvocationHandlerEJB3.CONTAINER_NAME, containName);

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  WSLogger.ROOT_LOGGER.trace("Creating JAXWS POJO endpoints meta data model");
  WSEndpointConfigMapping ecm = unit.getAttachment(WSAttachmentKeys.WS_ENDPOINT_CONFIG_MAPPING_KEY);
  for (final POJOEndpoint pojoEndpoint : getJaxwsPojos(unit)) {
    final String pojoEndpointName = pojoEndpoint.getName();
    WSLogger.ROOT_LOGGER.tracef("POJO name: %s", pojoEndpointName);
    final String pojoEndpointClassName = pojoEndpoint.getClassName();
    WSLogger.ROOT_LOGGER.tracef("POJO class: %s", pojoEndpointClassName);
    final Endpoint ep = newHttpEndpoint(pojoEndpointClassName, pojoEndpointName, dep);
    final ServiceName componentViewName = pojoEndpoint.getComponentViewName();
    if (componentViewName != null) {
      ep.setProperty(COMPONENT_VIEW_NAME, componentViewName);
    }
    if (ecm != null) {
      ep.setEndpointConfig(ecm.getConfig(pojoEndpointClassName));
    }
  }
}

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  WSLogger.ROOT_LOGGER.trace("Creating JAXWS EJB endpoints meta data model");
  WSEndpointConfigMapping ecm = unit.getAttachment(WSAttachmentKeys.WS_ENDPOINT_CONFIG_MAPPING_KEY);
  for (final EJBEndpoint ejbEndpoint : getJaxwsEjbs(unit)) {
    final String ejbEndpointName = ejbEndpoint.getName();
    WSLogger.ROOT_LOGGER.tracef("EJB name: %s", ejbEndpointName);
    final String ejbEndpointClassName = ejbEndpoint.getClassName();
    WSLogger.ROOT_LOGGER.tracef("EJB class: %s", ejbEndpointClassName);
    final Endpoint ep = newHttpEndpoint(ejbEndpointClassName, ejbEndpointName, dep);
    final ServiceName componentViewName = ejbEndpoint.getComponentViewName();
    if (componentViewName != null) {
      ep.setProperty(COMPONENT_VIEW_NAME, componentViewName);
    }
    ep.setEndpointConfig(ecm.getConfig(ejbEndpointClassName));
  }
}

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  WSLogger.ROOT_LOGGER.trace("Creating JAXWS EJB endpoints meta data model");
  WSEndpointConfigMapping ecm = unit.getAttachment(WSAttachmentKeys.WS_ENDPOINT_CONFIG_MAPPING_KEY);
  for (final EJBEndpoint ejbEndpoint : getJaxwsEjbs(unit)) {
    final String ejbEndpointName = ejbEndpoint.getName();
    WSLogger.ROOT_LOGGER.tracef("EJB name: %s", ejbEndpointName);
    final String ejbEndpointClassName = ejbEndpoint.getClassName();
    WSLogger.ROOT_LOGGER.tracef("EJB class: %s", ejbEndpointClassName);
    final Endpoint ep = newHttpEndpoint(ejbEndpointClassName, ejbEndpointName, dep);
    final ServiceName componentViewName = ejbEndpoint.getComponentViewName();
    if (componentViewName != null) {
      ep.setProperty(COMPONENT_VIEW_NAME, componentViewName);
    }
    ep.setEndpointConfig(ecm.getConfig(ejbEndpointClassName));
  }
}

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

@Override
protected void build(final Deployment dep, final DeploymentUnit unit) {
  WSLogger.ROOT_LOGGER.trace("Creating JAXWS POJO endpoints meta data model");
  WSEndpointConfigMapping ecm = unit.getAttachment(WSAttachmentKeys.WS_ENDPOINT_CONFIG_MAPPING_KEY);
  for (final POJOEndpoint pojoEndpoint : getJaxwsPojos(unit)) {
    final String pojoEndpointName = pojoEndpoint.getName();
    WSLogger.ROOT_LOGGER.tracef("POJO name: %s", pojoEndpointName);
    final String pojoEndpointClassName = pojoEndpoint.getClassName();
    WSLogger.ROOT_LOGGER.tracef("POJO class: %s", pojoEndpointClassName);
    final Endpoint ep = newHttpEndpoint(pojoEndpointClassName, pojoEndpointName, dep);
    final ServiceName componentViewName = pojoEndpoint.getComponentViewName();
    if (componentViewName != null) {
      ep.setProperty(COMPONENT_VIEW_NAME, componentViewName);
    }
    if (ecm != null) {
      ep.setEndpointConfig(ecm.getConfig(pojoEndpointClassName));
    }
  }
}

相关文章