Package org.jboss.ws.core.jaxws.handler

Examples of org.jboss.ws.core.jaxws.handler.HandlerChainExecutor


   }

   private boolean callFaultHandlerChain(QName portName, HandlerType type, Exception ex)
   {
      MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
      HandlerChainExecutor executor = executorMap.get(type);
      return (executor != null ? executor.handleFault(msgContext, ex) : true);
   }
View Full Code Here


   }

   private void closeHandlerChain(QName portName, HandlerType type)
   {
      MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
      HandlerChainExecutor executor = executorMap.get(type);
      if (executor != null)
         executor.close(msgContext);
   }
View Full Code Here

/*     */   }
/*     */
/*     */   protected boolean callRequestHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 155 */     BindingExt binding = (BindingExt)getBindingProvider().getBinding();
/* 156 */     HandlerChainExecutor executor = new HandlerChainExecutor(this.epMetaData, binding.getHandlerChain(type));
/* 157 */     this.executorMap.put(type, executor);
/*     */
/* 159 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 160 */     return executor.handleMessage(msgContext);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   protected boolean callResponseHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 166 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 167 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 168 */     return executor != null ? executor.handleMessage(msgContext) : true;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   protected boolean callFaultHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type, Exception ex)
/*     */   {
/* 174 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 175 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 176 */     return executor != null ? executor.handleFault(msgContext, ex) : true;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   protected void closeHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 182 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 183 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 184 */     if (executor != null)
/* 185 */       executor.close(msgContext);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   private boolean callRequestHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 566 */     BindingExt binding = (BindingExt)this.bindingProvider.getBinding();
/* 567 */     HandlerChainExecutor executor = new HandlerChainExecutor(this.epMetaData, binding.getHandlerChain(type));
/* 568 */     this.executorMap.put(type, executor);
/*     */
/* 570 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 571 */     return executor.handleMessage(msgContext);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   private boolean callResponseHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 576 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 577 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 578 */     return executor != null ? executor.handleMessage(msgContext) : true;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   private boolean callFaultHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type, Exception ex)
/*     */   {
/* 583 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 584 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 585 */     return executor != null ? executor.handleFault(msgContext, ex) : true;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   private void closeHandlerChain(QName portName, UnifiedHandlerMetaData.HandlerType type)
/*     */   {
/* 590 */     MessageContext msgContext = (MessageContext)MessageContextAssociation.peekMessageContext();
/* 591 */     HandlerChainExecutor executor = (HandlerChainExecutor)this.executorMap.get(type);
/* 592 */     if (executor != null)
/* 593 */       executor.close(msgContext);
/*     */   }
View Full Code Here

TOP

Related Classes of org.jboss.ws.core.jaxws.handler.HandlerChainExecutor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.