org.apache.axis2.jaxws.description.builder
Class WebServiceContextAnnot

java.lang.Object
  extended by org.apache.axis2.jaxws.description.builder.WebServiceContextAnnot

public class WebServiceContextAnnot
extends java.lang.Object


Method Summary
 java.lang.Class<java.lang.annotation.Annotation> annotationType()
           
<T extends EndpointReference>
T
getEndpointReference(java.lang.Class<T> arg0, org.w3c.dom.Element... arg1)
           
 EndpointReference getEndpointReference(org.w3c.dom.Element... arg0)
           
 MessageContext getMessageContext()
           
 java.security.Principal getUserPrincipal()
           
 boolean isUserInRole(java.lang.String role)
           
 void setMessageContext(MessageContext messageContext)
           
 void setUserInRole(boolean isUserInRole)
           
 void setUserPrincipal(java.security.Principal userPrincipal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isUserInRole

public boolean isUserInRole(java.lang.String role)
Parameters:
role - The role to check.
Returns:
Returns boolean indicating whether user is in Role

getMessageContext

public MessageContext getMessageContext()
Returns:
Returns the messageContext.

getUserPrincipal

public java.security.Principal getUserPrincipal()
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(java.security.Principal userPrincipal)
Parameters:
userPrincipal - The userPrincipal to set.

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(java.lang.Class<T> arg0,
                                                            org.w3c.dom.Element... arg1)

getEndpointReference

public EndpointReference getEndpointReference(org.w3c.dom.Element... arg0)

annotationType

public java.lang.Class<java.lang.annotation.Annotation> annotationType()


Copyright © 2007 Apache Web Services Project. All Rights Reserved.