Package org.apache.axis2.jaxws.context
Class WebServiceContextImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.context.WebServiceContextImpl
-
- All Implemented Interfaces:
WebServiceContext
public class WebServiceContextImpl extends Object implements WebServiceContext
-
-
Constructor Summary
Constructors Constructor Description WebServiceContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters)
EndpointReference
getEndpointReference(Element... referenceParameters)
MessageContext
getMessageContext()
Principal
getUserPrincipal()
boolean
isUserInRole(String user)
void
releaseResources()
Release objects held by WebServiceContext so that they can be garbage collected.void
setSoapMessageContext(MessageContext soapMessageContext)
-
-
-
Method Detail
-
getMessageContext
public MessageContext getMessageContext()
- Specified by:
getMessageContext
in interfaceWebServiceContext
-
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interfaceWebServiceContext
-
isUserInRole
public boolean isUserInRole(String user)
- Specified by:
isUserInRole
in interfaceWebServiceContext
-
setSoapMessageContext
public void setSoapMessageContext(MessageContext soapMessageContext)
-
getEndpointReference
public <T extends EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
- Specified by:
getEndpointReference
in interfaceWebServiceContext
-
getEndpointReference
public EndpointReference getEndpointReference(Element... referenceParameters)
- Specified by:
getEndpointReference
in interfaceWebServiceContext
-
releaseResources
public void releaseResources()
Release objects held by WebServiceContext so that they can be garbage collected.
-
-