PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

org.picketlink.trust.jbossws
Class PicketLinkDispatch

java.lang.Object
  extended by org.picketlink.trust.jbossws.PicketLinkDispatch
All Implemented Interfaces:
BindingProvider, Dispatch<Source>

public class PicketLinkDispatch
extends Object
implements Dispatch<Source>

A concrete implementation of Dispatch that can be used as an alternative to the underlying JAXWS implementation.

This is used by setting the module option "overrideDispatch" to true in the JBWSTokenIssuingLoginModule

Since:
May 10, 2011
Author:
Anil.Saldhana@redhat.com

Nested Class Summary
static class PicketLinkDispatch.PLMessageContext
           
 
Field Summary
 
Fields inherited from interface javax.xml.ws.BindingProvider
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, SOAPACTION_URI_PROPERTY, SOAPACTION_USE_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
PicketLinkDispatch(Dispatch parent, String endpoint)
           
 
Method Summary
 Binding getBinding()
           
 EndpointReference getEndpointReference()
           
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz)
           
 Map<String,Object> getRequestContext()
           
 Map<String,Object> getResponseContext()
           
 Source invoke(Source requestMessage)
           
 Response<Source> invokeAsync(Source msg)
           
 Future<?> invokeAsync(Source msg, AsyncHandler<Source> handler)
           
 void invokeOneWay(Source msg)
           
 void setSSLSocketFactory(SSLSocketFactory ssl)
           
 void setUseWSSE(boolean val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PicketLinkDispatch

public PicketLinkDispatch(Dispatch parent,
                          String endpoint)
Method Detail

setUseWSSE

public void setUseWSSE(boolean val)

setSSLSocketFactory

public void setSSLSocketFactory(SSLSocketFactory ssl)

getRequestContext

public Map<String,Object> getRequestContext()
Specified by:
getRequestContext in interface BindingProvider

getResponseContext

public Map<String,Object> getResponseContext()
Specified by:
getResponseContext in interface BindingProvider

getBinding

public Binding getBinding()
Specified by:
getBinding in interface BindingProvider

getEndpointReference

public EndpointReference getEndpointReference()
Specified by:
getEndpointReference in interface BindingProvider

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz)
Specified by:
getEndpointReference in interface BindingProvider

invoke

public Source invoke(Source requestMessage)
Specified by:
invoke in interface Dispatch<Source>

invokeAsync

public Response<Source> invokeAsync(Source msg)
Specified by:
invokeAsync in interface Dispatch<Source>

invokeAsync

public Future<?> invokeAsync(Source msg,
                             AsyncHandler<Source> handler)
Specified by:
invokeAsync in interface Dispatch<Source>

invokeOneWay

public void invokeOneWay(Source msg)
Specified by:
invokeOneWay in interface Dispatch<Source>

PicketLink Federation Common Server Bindings for JBoss AS 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.