org.apache.openejb.server.axis2.pojo
Class PojoWsContext
java.lang.Object
org.apache.openejb.server.axis2.pojo.PojoWsContext
- All Implemented Interfaces:
- javax.xml.ws.WebServiceContext
public class PojoWsContext
- extends Object
- implements javax.xml.ws.WebServiceContext
Implementation of WebServiceContext for POJO WS to ensure that getUserPrincipal()
and isUserInRole() are properly handled.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoWsContext
public PojoWsContext()
getMessageContext
public final javax.xml.ws.handler.MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface javax.xml.ws.WebServiceContext
getUserPrincipal
public final Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface javax.xml.ws.WebServiceContext
isUserInRole
public final boolean isUserInRole(String user)
- Specified by:
isUserInRole
in interface javax.xml.ws.WebServiceContext
setMessageContext
public static void setMessageContext(javax.xml.ws.handler.MessageContext ctx)
clear
public static void clear()
getEndpointReference
public EndpointReference getEndpointReference(Element... referenceParameters)
- Specified by:
getEndpointReference
in interface javax.xml.ws.WebServiceContext
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
Element... referenceParameters)
- Specified by:
getEndpointReference
in interface javax.xml.ws.WebServiceContext
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.