public class WebServiceContextAnnot extends Object implements javax.xml.ws.WebServiceContext
| Modifier and Type | Method and Description |
|---|---|
Class<Annotation> |
annotationType() |
<T extends javax.xml.ws.EndpointReference> |
getEndpointReference(Class<T> arg0,
Element... arg1) |
javax.xml.ws.EndpointReference |
getEndpointReference(Element... arg0) |
javax.xml.ws.handler.MessageContext |
getMessageContext() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
void |
setMessageContext(javax.xml.ws.handler.MessageContext messageContext) |
void |
setUserInRole(boolean isUserInRole) |
void |
setUserPrincipal(Principal userPrincipal) |
public boolean isUserInRole(String role)
isUserInRole in interface javax.xml.ws.WebServiceContextrole - The role to check.public javax.xml.ws.handler.MessageContext getMessageContext()
getMessageContext in interface javax.xml.ws.WebServiceContextpublic Principal getUserPrincipal()
getUserPrincipal in interface javax.xml.ws.WebServiceContextpublic void setUserInRole(boolean isUserInRole)
isUserInRole - The isUserInRole to set.public void setMessageContext(javax.xml.ws.handler.MessageContext messageContext)
messageContext - The messageContext to set.public void setUserPrincipal(Principal userPrincipal)
userPrincipal - The userPrincipal to set.public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> arg0, Element... arg1)
getEndpointReference in interface javax.xml.ws.WebServiceContextpublic javax.xml.ws.EndpointReference getEndpointReference(Element... arg0)
getEndpointReference in interface javax.xml.ws.WebServiceContextpublic Class<Annotation> annotationType()
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.