public class WebServiceContextImpl extends Object implements WebServiceContext
Constructor and Description |
---|
WebServiceContextImpl() |
WebServiceContextImpl(MessageContext c) |
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
<T extends EndpointReference> |
getEndpointReference(Class<T> clazz,
Element... referenceParameters) |
EndpointReference |
getEndpointReference(Element... referenceParameters) |
MessageContext |
getMessageContext() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
static void |
setMessageContext(MessageContext ctx) |
public WebServiceContextImpl()
public WebServiceContextImpl(MessageContext c)
public final MessageContext getMessageContext()
getMessageContext
in interface WebServiceContext
public final Principal getUserPrincipal()
getUserPrincipal
in interface WebServiceContext
public final boolean isUserInRole(String role)
isUserInRole
in interface WebServiceContext
public EndpointReference getEndpointReference(Element... referenceParameters)
getEndpointReference
in interface WebServiceContext
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
getEndpointReference
in interface WebServiceContext
public static void setMessageContext(MessageContext ctx)
public static void clear()
Apache CXF