com.sun.xml.ws.server
Class AbstractWebServiceContext

java.lang.Object
  extended by com.sun.xml.ws.server.AbstractWebServiceContext
All Implemented Interfaces:
WSWebServiceContext, WebServiceContext
Direct Known Subclasses:
AsyncProviderInvokerTube.AsyncWebServiceContext

public abstract class AbstractWebServiceContext
extends Object
implements WSWebServiceContext

Partial WSWebServiceContext implementation. This implementation depends on Packet and concrete implementations provide it via WSWebServiceContext.getRequestPacket().

See Also:
InvokerTube, AsyncProviderInvokerTube

Constructor Summary
AbstractWebServiceContext(WSEndpoint endpoint)
           
 
Method Summary
<T extends EndpointReference>
T
getEndpointReference(Class<T> clazz, Element... referenceParameters)
           
 EndpointReference getEndpointReference(Element... referenceParameters)
           
 MessageContext getMessageContext()
           
 Principal getUserPrincipal()
           
 boolean isUserInRole(String role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.ws.api.server.WSWebServiceContext
getRequestPacket
 

Constructor Detail

AbstractWebServiceContext

public AbstractWebServiceContext(@NotNull
                                 WSEndpoint endpoint)
Method Detail

getMessageContext

public MessageContext getMessageContext()
Specified by:
getMessageContext in interface WebServiceContext

getUserPrincipal

public Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface WebServiceContext

isUserInRole

public boolean isUserInRole(String role)
Specified by:
isUserInRole in interface WebServiceContext

getEndpointReference

public EndpointReference getEndpointReference(Element... referenceParameters)
Specified by:
getEndpointReference in interface WebServiceContext

getEndpointReference

public <T extends EndpointReference> T getEndpointReference(Class<T> clazz,
                                                            Element... referenceParameters)
Specified by:
getEndpointReference in interface WebServiceContext


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.