org.apache.cxf.jaxws.context
Class WebServiceContextImpl
java.lang.Object
org.apache.cxf.jaxws.context.WebServiceContextImpl
- All Implemented Interfaces:
- WebServiceContext
public class WebServiceContextImpl
- extends Object
- implements WebServiceContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceContextImpl
public WebServiceContextImpl()
WebServiceContextImpl
public WebServiceContextImpl(MessageContext c)
getMessageContext
public final MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface WebServiceContext
getUserPrincipal
public final Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface WebServiceContext
isUserInRole
public final boolean isUserInRole(String role)
- Specified by:
isUserInRole
in interface WebServiceContext
getEndpointReference
public EndpointReference getEndpointReference(Element... referenceParameters)
- Specified by:
getEndpointReference
in interface WebServiceContext
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
Element... referenceParameters)
- Specified by:
getEndpointReference
in interface WebServiceContext
setMessageContext
public static MessageContext setMessageContext(MessageContext ctx)
- Sets reference to the specified MessageContext and returns the previous reference, if any.
- Parameters:
ctx
- The MessageContext to set
- Returns:
- The former MessageContext reference, if any.
clear
public static void clear()
Apache CXF