Apache CXF API

org.apache.cxf.jaxws.context
Class WebServiceContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxws.context.WebServiceContextImpl
All Implemented Interfaces:
javax.xml.ws.WebServiceContext

public class WebServiceContextImpl
extends Object
implements javax.xml.ws.WebServiceContext


Constructor Summary
WebServiceContextImpl()
           
 
Method Summary
static void clear()
           
<T extends javax.xml.ws.EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 javax.xml.ws.EndpointReference getEndpointReference(Element... referenceParameters)
           
 javax.xml.ws.handler.MessageContext getMessageContext()
           
 Principal getUserPrincipal()
           
 boolean isUserInRole(String role)
           
static void setMessageContext(javax.xml.ws.handler.MessageContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceContextImpl

public WebServiceContextImpl()
Method Detail

getMessageContext

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

getUserPrincipal

public final Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface javax.xml.ws.WebServiceContext

isUserInRole

public final boolean isUserInRole(String role)
Specified by:
isUserInRole in interface javax.xml.ws.WebServiceContext

getEndpointReference

public javax.xml.ws.EndpointReference getEndpointReference(Element... referenceParameters)
Specified by:
getEndpointReference in interface javax.xml.ws.WebServiceContext

getEndpointReference

public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz,
                                                                         Element... referenceParameters)
Specified by:
getEndpointReference in interface javax.xml.ws.WebServiceContext

setMessageContext

public static void setMessageContext(javax.xml.ws.handler.MessageContext ctx)

clear

public static void clear()

Apache CXF API

Apache CXF