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

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

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

Endpoint.getProperty介绍

暂无

代码示例

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

public void init(Endpoint ep)
{
 containerName = (String)ep.getProperty(InvocationHandlerEJB3.CONTAINER_NAME);
 assert containerName!=null : "Target container name not set";
}

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

public void init(Endpoint ep)
{
 containerName = (String)ep.getProperty(InvocationHandlerEJB3.CONTAINER_NAME);
 assert containerName!=null : "Target container name not set";
}

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

/**
* Initializes component view name.
*
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint) {
  componentViewName = (ServiceName) endpoint.getProperty(COMPONENT_VIEW_NAME);
}

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

public void init(Endpoint ep)
{
 containerName = (String)ep.getProperty(InvocationHandlerEJB3.CONTAINER_NAME);
 assert containerName!=null : "Target container name not set";
}

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

/**
* Initializes component view name.
*
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint) {
  componentViewName = (ServiceName) endpoint.getProperty(COMPONENT_VIEW_NAME);
}

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

/**
* Initializes component view name.
*
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint) {
  componentViewName = (ServiceName) endpoint.getProperty(COMPONENT_VIEW_NAME);
}

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

public void init(Endpoint ep)
{
 containerName = (String)ep.getProperty(InvocationHandlerEJB3.CONTAINER_NAME);
 assert containerName!=null : "Target container name not set";
}

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

/**
* Initializes EJB3 container name.
* 
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint)
{
 this.containerName = (String) endpoint.getProperty(ASHelper.CONTAINER_NAME);
 if (this.containerName == null)
 {
   throw new IllegalArgumentException("Container name cannot be null");
 }
}

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

/**
* Initializes EJB3 container name.
* 
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint)
{
 this.containerName = (String) endpoint.getProperty(ASHelper.CONTAINER_NAME);
 if (this.containerName == null)
 {
   throw new IllegalArgumentException("Container name cannot be null");
 }
}

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

/**
* Initializes EJB3 container name.
* 
* @param endpoint web service endpoint
*/
public void init(final Endpoint endpoint)
{
 this.containerName = (String) endpoint.getProperty(ASHelper.CONTAINER_NAME);
 if (this.containerName == null)
 {
   throw new IllegalArgumentException("Container name cannot be null");
 }
}

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

for (Endpoint depEp : depEndpoints) {
  for (org.apache.cxf.endpoint.Endpoint ep : eps) {
   if (ep.getService().getName().equals(depEp.getProperty(Message.WSDL_SERVICE)) && ep.getEndpointInfo().getName().equals(depEp.getProperty(Message.WSDL_PORT))
       && ep.getEndpointInfo().getAddress().equals(depEp.getAddress()) ) {
     depEp.addAttachment(org.apache.cxf.endpoint.Endpoint.class, ep);

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

@Override
public void start(final StartContext context) {
  WSLogger.ROOT_LOGGER.starting(name);
  final String domainName = (String)endpoint.getProperty(SECURITY_DOMAIN_NAME);
  if (isElytronSecurityDomain(endpoint, domainName)) {
    if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {
      endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.ejbApplicationSecurityDomain.get().getSecurityDomain()));
    } else {
      endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.elytronSecurityDomain.get()));
    }
  } else {
    endpoint.setSecurityDomainContext(new SecurityDomainContextImpl(securityDomainContext.get()));
  }
  if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {
    final EJBViewMethodSecurityAttributesService ejbMethodSecurityAttributeService = this.ejbMethodSecurityAttributeService.get();
    endpoint.addAttachment(EJBMethodSecurityAttributeProvider.class, new EJBMethodSecurityAttributesAdaptor(ejbMethodSecurityAttributeService));
  }
  final List<RecordProcessor> processors = endpoint.getRecordProcessors();
  for (final RecordProcessor processor : processors) {
    registerRecordProcessor(processor, endpoint);
  }
  final EndpointMetricsFactory endpointMetricsFactory = SPIProvider.getInstance().getSPI(EndpointMetricsFactory.class);
  endpoint.setEndpointMetrics(endpointMetricsFactory.newEndpointMetrics());
  registerEndpoint(endpoint);
  endpoint.getLifecycleHandler().start(endpoint);
  ServiceContainerEndpointRegistry.register(aliasName, endpoint);
  endpointConsumer.accept(endpoint);
}

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

@Override
public void start(final StartContext context) throws StartException {
  WSLogger.ROOT_LOGGER.starting(name);
  final String domainName = (String)endpoint.getProperty(SECURITY_DOMAIN_NAME);
  if (isElytronSecurityDomain(endpoint, domainName)) {
    if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {
      endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.ejbApplicationSecurityDomainValue.getValue().getSecurityDomain()));
    } else {
      endpoint.setSecurityDomainContext(new ElytronSecurityDomainContextImpl(this.elytronSecurityDomain.getValue()));
    }
  } else {
    endpoint.setSecurityDomainContext(new SecurityDomainContextImpl(securityDomainContextValue.getValue()));
  }
  if (EndpointType.JAXWS_EJB3.equals(endpoint.getType())) {
    final EJBViewMethodSecurityAttributesService ejbMethodSecurityAttributeService = ejbMethodSecurityAttributeServiceValue.getValue();
    endpoint.addAttachment(EJBMethodSecurityAttributeProvider.class, new EJBMethodSecurityAttributesAdaptor(ejbMethodSecurityAttributeService));
  }
  final List<RecordProcessor> processors = endpoint.getRecordProcessors();
  for (final RecordProcessor processor : processors) {
    registerRecordProcessor(processor, endpoint);
  }
  final EndpointMetricsFactory factory = SPIProvider.getInstance().getSPI(EndpointMetricsFactory.class);
  endpoint.setEndpointMetrics(factory.newEndpointMetrics());
  registerEndpoint(endpoint);
  endpoint.getLifecycleHandler().start(endpoint);
}

相关文章