org.apache.ws.resource.handler.websphere
Class WASEjbResourceContext

java.lang.Object
  extended byorg.apache.ws.resource.impl.ResourceContextImpl
      extended byorg.apache.ws.resource.handler.websphere.WASEjbResourceContext
All Implemented Interfaces:
ResourceContext

public class WASEjbResourceContext
extends org.apache.ws.resource.impl.ResourceContextImpl

An implementation of ResourceContext for use when the endpoint is interacted with as an EJB.

Author:
Sal Campana

Constructor Summary
WASEjbResourceContext(java.lang.String serviceName, java.lang.Object resourceID)
          Creates a new WASEjbResourceContext object.
 
Method Summary
 java.lang.String getRequestAction()
          DOCUMENT_ME
 Resource getResource()
          Returns the resource instance that was targeted by the request associated with this context.
 javax.xml.soap.SOAPMessage getSOAPMessage()
          DOCUMENT_ME
 void setResponseAction(java.net.URI action)
          Sets the value that should be used for the response's wsa:Action header element.
 
Methods inherited from class org.apache.ws.resource.impl.ResourceContextImpl
containsProperty, extractProperties, getAddressingAction, getBaseURL, getProperty, getPropertyNames, getResourceHome, getServiceName, getServiceName, getServiceURL, getServiceURL, lookupHome, removeProperty, setProperty, setServiceName, setServiceURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WASEjbResourceContext

public WASEjbResourceContext(java.lang.String serviceName,
                             java.lang.Object resourceID)
                      throws java.lang.Exception
Creates a new WASEjbResourceContext object.

Parameters:
serviceName - DOCUMENT_ME
resourceID - DOCUMENT_ME
Throws:
java.lang.Exception - DOCUMENT_ME
Method Detail

getRequestAction

public java.lang.String getRequestAction()
Description copied from class: org.apache.ws.resource.impl.ResourceContextImpl
DOCUMENT_ME

Returns:
DOCUMENT_ME
See Also:
ResourceContext#getRequestAction()

getResource

public Resource getResource()
                     throws ResourceException
Description copied from interface: ResourceContext
Returns the resource instance that was targeted by the request associated with this context.

Throws:
ResourceException
See Also:
ResourceContext#getResource()

setResponseAction

public void setResponseAction(java.net.URI action)
Description copied from interface: ResourceContext
Sets the value that should be used for the response's wsa:Action header element.

See Also:
ResourceContext#setResponseAction(URI)

getSOAPMessage

public javax.xml.soap.SOAPMessage getSOAPMessage()
Description copied from class: org.apache.ws.resource.impl.ResourceContextImpl
DOCUMENT_ME

Returns:
DOCUMENT_ME
See Also:
ResourceContext#getSOAPMessage()


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.