Package org.jboss.wsf.spi.invocation

Examples of org.jboss.wsf.spi.invocation.InvocationHandler


            key = InvocationType.JAXWS_MDB3.toString();
         }
      }

      InvocationType type = InvocationType.valueOf(key);
      InvocationHandler invocationHandler = spiProvider.getSPI(InvocationHandlerFactory.class).newInvocationHandler(type);
      return invocationHandler;
   }
View Full Code Here


                  }
               }
              
               // Invoke an instance of the SEI implementation bean
               Invocation inv = setupInvocation(endpoint, sepInv, invContext);
               InvocationHandler invHandler = endpoint.getInvocationHandler();
              
               try
               {
                  invHandler.invoke(endpoint, inv);
                 
               }
               catch (InvocationTargetException th)
               {
                  //Unwrap the throwable raised by the service endpoint implementation
View Full Code Here

     *
     * @param type invocation type
     * @return invocation handler
     */
    public InvocationHandler newInvocationHandler(final InvocationType type) {
        InvocationHandler handler = null;

        switch (type) {
            case JAXRPC_JSE:
                handler = new InvocationHandlerJAXRPC();
                break;
View Full Code Here

         if (sepMetaData == null)
            throw new IllegalStateException("Cannot obtain endpoint meta data");
        
         if (sepMetaData.getConfig().getRMMetaData() != null)
         {
            InvocationHandler origInvHandler = ep.getInvocationHandler();
            InvocationHandler wsrmInvHandler = new RMInvocationHandler(origInvHandler, (ArchiveDeployment)dep);
            ep.setInvocationHandler(wsrmInvHandler);
            RMHelper.setupRMOperations(sepMetaData);
            log.info("WS-RM invocation handler associated with endpoint " + ep.getAddress());
         }
      }
View Full Code Here

   @Override
   public final void destroy(Deployment dep)
   {
      for (Endpoint ep : dep.getService().getEndpoints())
      {
         InvocationHandler invHandler = ep.getInvocationHandler();
         if (invHandler instanceof RMInvocationHandler)
         {
            RMInvocationHandler rmInvHandler = (RMInvocationHandler)invHandler;
            ep.setInvocationHandler(rmInvHandler.getDelegate());
            log.info("WS-RM invocation handler removed for endpoint " + ep.getAddress());
View Full Code Here

* @author <a href="mailto:ropalka@redhat.com">Richard Opalka</a>
*/
public final class InvocationHandlerFactoryImpl extends InvocationHandlerFactory {

    public InvocationHandler newInvocationHandler(final InvocationType type) {
        InvocationHandler handler = null;

        switch (type) {
            case JAXWS_JSE:
                handler = new InvocationHandlerJAXWS();
                break;
View Full Code Here

                  sepInv = binding.unbindRequestMessage(opMetaData, reqMessage);
               }

               // Invoke an instance of the SEI implementation bean
               Invocation inv = setupInvocation(endpoint, sepInv, invContext);
               InvocationHandler invHandler = endpoint.getInvocationHandler();
              
               try
               {
                  invHandler.invoke(endpoint, inv);
               }
               catch (InvocationTargetException th)
               {
                  //Unwrap the throwable raised by the service endpoint implementation
                  Throwable targetEx = th.getTargetException();
View Full Code Here

         if (sepMetaData == null)
            throw new IllegalStateException("Cannot obtain endpoint meta data");
        
         if (sepMetaData.getConfig().getRMMetaData() != null)
         {
            InvocationHandler origInvHandler = ep.getInvocationHandler();
            InvocationHandler wsrmInvHandler = new RMInvocationHandler(origInvHandler, (ArchiveDeployment)dep);
            ep.setInvocationHandler(wsrmInvHandler);
            RMHelper.setupRMOperations(sepMetaData);
            log.info("WS-RM invocation handler associated with endpoint " + ep.getAddress());
         }
      }
View Full Code Here

   @Override
   public final void destroy(Deployment dep)
   {
      for (Endpoint ep : dep.getService().getEndpoints())
      {
         InvocationHandler invHandler = ep.getInvocationHandler();
         if (invHandler instanceof RMInvocationHandler)
         {
            RMInvocationHandler rmInvHandler = (RMInvocationHandler)invHandler;
            ep.setInvocationHandler(rmInvHandler.getDelegate());
            log.info("WS-RM invocation handler removed for endpoint " + ep.getAddress());
View Full Code Here

                  }
               }
              
               // Invoke an instance of the SEI implementation bean
               Invocation inv = setupInvocation(endpoint, sepInv, invContext);
               InvocationHandler invHandler = endpoint.getInvocationHandler();
              
               try
               {
                  invHandler.invoke(endpoint, inv);
                 
               }
               catch (InvocationTargetException th)
               {
                  //Unwrap the throwable raised by the service endpoint implementation
View Full Code Here

TOP

Related Classes of org.jboss.wsf.spi.invocation.InvocationHandler

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.