org.jboss.wsf.spi.invocation
Class WebServiceContextDelegate

java.lang.Object
  extended by org.jboss.wsf.spi.deployment.AbstractExtensible
      extended by org.jboss.wsf.spi.invocation.ExtensibleWebServiceContext
          extended by org.jboss.wsf.spi.invocation.WebServiceContextDelegate
All Implemented Interfaces:
javax.xml.ws.WebServiceContext, Extensible

public class WebServiceContextDelegate
extends ExtensibleWebServiceContext

A ExtensibleWebServiceContext implementation that delegates to a given WebServiceContext instance.

Since:
28-Nov-2008
Author:
alessio.soldano@jboss.com

Constructor Summary
WebServiceContextDelegate(javax.xml.ws.WebServiceContext ctx)
           
 
Method Summary
<T extends javax.xml.ws.EndpointReference>
T
getEndpointReference(java.lang.Class<T> arg0, org.w3c.dom.Element... arg1)
           
 javax.xml.ws.EndpointReference getEndpointReference(org.w3c.dom.Element... arg0)
           
 javax.xml.ws.handler.MessageContext getMessageContext()
           
 java.security.Principal getUserPrincipal()
           
 boolean isUserInRole(java.lang.String s)
           
 
Methods inherited from class org.jboss.wsf.spi.deployment.AbstractExtensible
addAttachment, getAttachment, getAttachments, getProperties, getProperty, removeAttachment, removeProperty, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceContextDelegate

public WebServiceContextDelegate(javax.xml.ws.WebServiceContext ctx)
Method Detail

getUserPrincipal

public java.security.Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface javax.xml.ws.WebServiceContext
Specified by:
getUserPrincipal in class ExtensibleWebServiceContext

isUserInRole

public boolean isUserInRole(java.lang.String s)
Specified by:
isUserInRole in interface javax.xml.ws.WebServiceContext
Specified by:
isUserInRole in class ExtensibleWebServiceContext

getMessageContext

public javax.xml.ws.handler.MessageContext getMessageContext()
Specified by:
getMessageContext in interface javax.xml.ws.WebServiceContext
Overrides:
getMessageContext in class ExtensibleWebServiceContext

getEndpointReference

public javax.xml.ws.EndpointReference getEndpointReference(org.w3c.dom.Element... arg0)
Specified by:
getEndpointReference in interface javax.xml.ws.WebServiceContext
Specified by:
getEndpointReference in class ExtensibleWebServiceContext

getEndpointReference

public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(java.lang.Class<T> arg0,
                                                                         org.w3c.dom.Element... arg1)
Specified by:
getEndpointReference in interface javax.xml.ws.WebServiceContext
Specified by:
getEndpointReference in class ExtensibleWebServiceContext


Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.