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

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

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

Endpoint.setRecordProcessors介绍

[英]Set the record processors for this endpoint
[中]为此终结点设置记录处理器

代码示例

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

public void stop(final Deployment dep) {
  for (final Endpoint ep : dep.getService().getEndpoints()) {
    ep.setRecordProcessors(Collections.<RecordProcessor>emptyList());
  }
}

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

public void stop(final Deployment dep) {
  for (final Endpoint ep : dep.getService().getEndpoints()) {
    ep.setRecordProcessors(Collections.<RecordProcessor>emptyList());
  }
}

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

public void stop(final Deployment dep) {
  for (final Endpoint ep : dep.getService().getEndpoints()) {
    ep.setRecordProcessors(Collections.<RecordProcessor>emptyList());
  }
}

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

@Override
public void start(final Deployment dep) {
  final int size = processors.size();
  for (final Endpoint ep : dep.getService().getEndpoints()) {
    List<RecordProcessor> processorList = new Vector<RecordProcessor>(size);
    for (RecordProcessor pr : processors) {
      try {
        RecordProcessor clone = (RecordProcessor) pr.clone();
        processorList.add(clone);
      } catch (final CloneNotSupportedException ex) {
        throw new RuntimeException(ex);
      }
    }
    ep.setRecordProcessors(processorList);
  }
}

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

@Override
public void start(final Deployment dep) {
  final int size = processors.size();
  for (final Endpoint ep : dep.getService().getEndpoints()) {
    List<RecordProcessor> processorList = new Vector<RecordProcessor>(size);
    for (RecordProcessor pr : processors) {
      try {
        RecordProcessor clone = (RecordProcessor) pr.clone();
        processorList.add(clone);
      } catch (final CloneNotSupportedException ex) {
        throw new RuntimeException(ex);
      }
    }
    ep.setRecordProcessors(processorList);
  }
}

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

@Override
public void start(final Deployment dep) {
  final int size = processors.size();
  for (final Endpoint ep : dep.getService().getEndpoints()) {
   List<RecordProcessor> processorList = new Vector<RecordProcessor>(size);
   if (processors != null) {
     for (RecordProcessor pr : processors) {
      try {
        RecordProcessor clone = (RecordProcessor)pr.clone();
        processorList.add(clone);
      }
      catch (final CloneNotSupportedException ex) {
        throw new RuntimeException(ex);
      }
     }
   }
   ep.setRecordProcessors(processorList);
  }
}

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

@Override
public void start(Deployment dep)
{
 for (Endpoint ep : dep.getService().getEndpoints())
 {
   List<RecordProcessor> processorList = new LinkedList<RecordProcessor>();
   if (processors != null)
   {
    for (RecordProcessor pr : processors)
    {
      try
      {
       RecordProcessor clone = (RecordProcessor)pr.clone();
       registerRecordProcessor(clone, ep);
       processorList.add(clone);
      }
      catch (CloneNotSupportedException ex)
      {
       throw new RuntimeException(ex);
      }
    }
   }
   ep.setRecordProcessors(processorList);
 }
}

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

@Override
public void start(Deployment dep)
{
 for (Endpoint ep : dep.getService().getEndpoints())
 {
   List<RecordProcessor> processorList = new LinkedList<RecordProcessor>();
   if (processors != null)
   {
    for (RecordProcessor pr : processors)
    {
      try
      {
       RecordProcessor clone = (RecordProcessor)pr.clone();
       registerRecordProcessor(clone, ep);
       processorList.add(clone);
      }
      catch (CloneNotSupportedException ex)
      {
       throw new RuntimeException(ex);
      }
    }
   }
   ep.setRecordProcessors(processorList);
 }
}

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

endpoint.setRecordProcessors(processors);
for (RecordProcessor processor : processors)

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

endpoint.setRecordProcessors(processors);
for (RecordProcessor processor : processors)

相关文章