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