org.apache.axis.handlers.soap
Class SOAPService

java.lang.Object
  |
  +--org.apache.axis.handlers.BasicHandler
        |
        +--org.apache.axis.SimpleChain
              |
              +--org.apache.axis.SimpleTargetedChain
                    |
                    +--org.apache.axis.handlers.soap.SOAPService
All Implemented Interfaces:
Chain, Handler, java.io.Serializable, TargetedChain

public class SOAPService
extends SimpleTargetedChain

A SOAPService is a Handler which encapsulates a SOAP invocation. It has an request chain, an response chain, and a pivot-point, and handles the SOAP semantics when invoke()d.

Author:
Glen Daniels (gdaniels@macromedia.com), Doug Davis (dug@us.ibm.com)
See Also:
Serialized Form

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.SimpleTargetedChain
pivotHandler, requestHandler, responseHandler
 
Fields inherited from class org.apache.axis.SimpleChain
handlers, invoked
 
Fields inherited from class org.apache.axis.handlers.BasicHandler
name, options
 
Constructor Summary
SOAPService()
          Standard, no-arg constructor.
SOAPService(Handler serviceHandler)
          Convenience constructor for wrapping SOAP semantics around "service handlers" which actually do work.
SOAPService(Handler reqHandler, Handler pivHandler, Handler respHandler)
          Constructor with real or null request, pivot, and response handlers.
 
Method Summary
 boolean availableFromTransport(java.lang.String transportName)
           
 void disableTransport(java.lang.String transportName)
          Disable access to this service from a particular transport
 void enableTransport(java.lang.String transportName)
          Make this service available on a particular transport
 ServiceDesc getServiceDescription()
           
 int getStyle()
           
 TypeMappingRegistry getTypeMappingRegistry()
           
 void setEngine(AxisEngine engine)
          Tell this service which engine it's deployed to.
 void setServiceDescription(ServiceDesc serviceDescription)
           
 void setStyle(int style)
           
 void setTypeMappingRegistry(TypeMappingRegistry map)
           
 void start()
          Placeholder for "enable this service" method
 void stop()
          Placeholder for "disable this service" method
 
Methods inherited from class org.apache.axis.SimpleTargetedChain
getPivotHandler, getRequestHandler, getResponseHandler, init
 
Methods inherited from class org.apache.axis.SimpleChain
addHandler, canHandleBlock, cleanup, contains, generateWSDL, getDeploymentData, getHandlers, init, invoke, onFault
 
Methods inherited from class org.apache.axis.handlers.BasicHandler
getName, getOption, getOptions, setName, setOption, setOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis.Chain
addHandler, contains, getHandlers
 
Methods inherited from interface org.apache.axis.Handler
canHandleBlock, cleanup, generateWSDL, getDeploymentData, getName, getOption, getOptions, init, invoke, onFault, setName, setOption, setOptions
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

SOAPService

public SOAPService()
Standard, no-arg constructor.

SOAPService

public SOAPService(Handler reqHandler,
                   Handler pivHandler,
                   Handler respHandler)
Constructor with real or null request, pivot, and response handlers. A special request handler is specified to inject SOAP semantics.

SOAPService

public SOAPService(Handler serviceHandler)
Convenience constructor for wrapping SOAP semantics around "service handlers" which actually do work.
Method Detail

getTypeMappingRegistry

public TypeMappingRegistry getTypeMappingRegistry()

setTypeMappingRegistry

public void setTypeMappingRegistry(TypeMappingRegistry map)

setEngine

public void setEngine(AxisEngine engine)
Tell this service which engine it's deployed to.

availableFromTransport

public boolean availableFromTransport(java.lang.String transportName)

getStyle

public int getStyle()

setStyle

public void setStyle(int style)

getServiceDescription

public ServiceDesc getServiceDescription()

setServiceDescription

public void setServiceDescription(ServiceDesc serviceDescription)

start

public void start()
Placeholder for "enable this service" method

stop

public void stop()
Placeholder for "disable this service" method

enableTransport

public void enableTransport(java.lang.String transportName)
Make this service available on a particular transport

disableTransport

public void disableTransport(java.lang.String transportName)
Disable access to this service from a particular transport


Copyright © 2001 Apache XML Project. All Rights Reserved.