org.jboss.injection
Class WebServiceContextProxy
java.lang.Object
org.jboss.injection.WebServiceContextProxy
- All Implemented Interfaces:
- javax.xml.ws.WebServiceContext
public class WebServiceContextProxy
- extends Object
- implements javax.xml.ws.WebServiceContext
WebServiceContext proxy that delegates to a ThreadLocal.
- Author:
- Heiko.Braun
- See Also:
StatelessContainer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebServiceContextProxy
public WebServiceContextProxy()
associateMessageContext
public static void associateMessageContext(javax.xml.ws.WebServiceContext messageContext)
getMessageContext
public javax.xml.ws.handler.MessageContext getMessageContext()
- Specified by:
getMessageContext
in interface javax.xml.ws.WebServiceContext
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interface javax.xml.ws.WebServiceContext
isUserInRole
public boolean isUserInRole(String string)
- Specified by:
isUserInRole
in interface javax.xml.ws.WebServiceContext
getEndpointReference
public javax.xml.ws.EndpointReference getEndpointReference(Element... elements)
- Specified by:
getEndpointReference
in interface javax.xml.ws.WebServiceContext
getEndpointReference
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> aClass,
Element... elements)
- Specified by:
getEndpointReference
in interface javax.xml.ws.WebServiceContext
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.