public class WebServiceContextAnnot
extends java.lang.Object
implements javax.xml.ws.WebServiceContext
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<java.lang.annotation.Annotation> |
annotationType() |
<T extends javax.xml.ws.EndpointReference> |
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 role) |
void |
setMessageContext(javax.xml.ws.handler.MessageContext messageContext) |
void |
setUserInRole(boolean isUserInRole) |
void |
setUserPrincipal(java.security.Principal userPrincipal) |
public boolean isUserInRole(java.lang.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 java.security.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(java.security.Principal userPrincipal)
userPrincipal - The userPrincipal to set.public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(java.lang.Class<T> arg0,
org.w3c.dom.Element... arg1)
getEndpointReference in interface javax.xml.ws.WebServiceContextpublic javax.xml.ws.EndpointReference getEndpointReference(org.w3c.dom.Element... arg0)
getEndpointReference in interface javax.xml.ws.WebServiceContextpublic java.lang.Class<java.lang.annotation.Annotation> annotationType()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.