org.apache.ws.resource.handler.axis
Class AxisResourceContext

java.lang.Object
  extended byorg.apache.ws.resource.ResourceContext
      extended byorg.apache.ws.resource.impl.AbstractResourceContext
          extended byorg.apache.ws.resource.handler.axis.AxisResourceContext

public class AxisResourceContext
extends AbstractResourceContext

LOG-DONE Axis version of a ResourceContext.

Author:
Sal Campana

Field Summary
static org.apache.ws.util.i18n.Messages MSG
           
 
Constructor Summary
AxisResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext ctx)
          Creates a new AxisResourceContext object.
AxisResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext ctx, javax.xml.soap.SOAPMessage msg)
          Creates a new AxisResourceContext object.
 
Method Summary
protected  java.lang.String getServiceName(javax.xml.rpc.handler.MessageContext msgContext)
          Returns the Service name from the Axis MessageContext MessageContext.getTargetService()
protected  java.net.URL getServiceURL(javax.xml.rpc.handler.MessageContext msgContext)
          Returns the Service url from the Axis MessageContext MessageContext.getProperty(String) passing it MessageContext.TRANS_URL
 
Methods inherited from class org.apache.ws.resource.impl.AbstractResourceContext
containsProperty, getProperty, getPropertyNames, getResource, getResourceHome, getResourceHomeLocation, getResourceKey, getResourceKey, getResourceKeyHeader, getResourceKeyHeader, getResourceKeyHeader, getServiceName, getServiceURL, getSOAPMessage, removeProperty, setProperty, setResourceKeyClass, setResourceKeyQname, setServiceName
 
Methods inherited from class org.apache.ws.resource.ResourceContext
getResourceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG

public static final org.apache.ws.util.i18n.Messages MSG
Constructor Detail

AxisResourceContext

public AxisResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext ctx)
Creates a new AxisResourceContext object.

Parameters:
ctx - SOAPMessageContext

AxisResourceContext

public AxisResourceContext(javax.xml.rpc.handler.soap.SOAPMessageContext ctx,
                           javax.xml.soap.SOAPMessage msg)
Creates a new AxisResourceContext object.

Parameters:
ctx - SOAPMessageContext
msg - SOAPMessage
Method Detail

getServiceName

protected java.lang.String getServiceName(javax.xml.rpc.handler.MessageContext msgContext)
Returns the Service name from the Axis MessageContext MessageContext.getTargetService()

Overrides:
getServiceName in class AbstractResourceContext
Parameters:
msgContext - Jax-RPC MessageContext
Returns:
The service name

getServiceURL

protected java.net.URL getServiceURL(javax.xml.rpc.handler.MessageContext msgContext)
Returns the Service url from the Axis MessageContext MessageContext.getProperty(String) passing it MessageContext.TRANS_URL

Overrides:
getServiceURL in class AbstractResourceContext
Parameters:
msgContext - Jax-RPC MessageContext
Returns:
The service URL


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