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 WebServiceContext
role
- The role to check.public MessageContext getMessageContext()
getMessageContext
in interface WebServiceContext
public Principal getUserPrincipal()
getUserPrincipal
in interface WebServiceContext
public 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 WebServiceContext
public EndpointReference getEndpointReference(Element... arg0)
getEndpointReference
in interface WebServiceContext
public Class<Annotation> annotationType()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.