org.apache.axis2.jaxws.description.builder
Class WebServiceContextAnnot
java.lang.Object
org.apache.axis2.jaxws.description.builder.WebServiceContextAnnot
- All Implemented Interfaces:
- WebServiceContext
public class WebServiceContextAnnot
- extends Object
- implements WebServiceContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isUserInRole
public boolean isUserInRole(String role)
- Specified by:
isUserInRole in interface WebServiceContext
- Parameters:
role - The role to check.
- Returns:
- Returns boolean indicating whether user is in Role
getMessageContext
public MessageContext getMessageContext()
- Specified by:
getMessageContext in interface WebServiceContext
- Returns:
- Returns the messageContext.
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal in interface WebServiceContext
- Returns:
- Returns the userPrincipal.
setUserInRole
public void setUserInRole(boolean isUserInRole)
- Parameters:
isUserInRole - The isUserInRole to set.
setMessageContext
public void setMessageContext(MessageContext messageContext)
- Parameters:
messageContext - The messageContext to set.
setUserPrincipal
public void setUserPrincipal(Principal userPrincipal)
- Parameters:
userPrincipal - The userPrincipal to set.
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> arg0,
Element... arg1)
- Specified by:
getEndpointReference in interface WebServiceContext
getEndpointReference
public EndpointReference getEndpointReference(Element... arg0)
- Specified by:
getEndpointReference in interface WebServiceContext
annotationType
public Class<Annotation> annotationType()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.