Package org.gatein.wsrp.api.extensions

Examples of org.gatein.wsrp.api.extensions.ConsumerExtensionAccessor


         final Element markupParamsExtension = DOMUtils.createElement(namespaceURI, "MarkupParamsExtension");
         final Node originalSessionId = DOMUtils.addChild(markupParamsExtension, namespaceURI, "OriginalSessionId");
         originalSessionId.setTextContent(id);

         // retrieve the ConsumerExtensionAccessor to be able to interact with extensions on the consumer-side
         final ConsumerExtensionAccessor consumerExtensionAccessor = ExtensionAccess.getConsumerExtensionAccessor();

         // attach the newly created extension to the MarkupParams element for this particular invocation
         consumerExtensionAccessor.addRequestExtension(MarkupParams.class, markupParamsExtension);
      }
   }
View Full Code Here

TOP

Related Classes of org.gatein.wsrp.api.extensions.ConsumerExtensionAccessor

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.