public class SOAPService extends SimpleTargetedChain
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.Modifier and Type | Field and Description |
---|---|
int |
nextObjectID |
Map |
serviceObjects
A list of our active service objects (these can have lifetimes and
be reaped)
|
pivotHandler, requestHandler, responseHandler
handlers, invoked
makeLockable, name, options
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
availableFromTransport(String transportName) |
void |
disableTransport(String transportName)
Disable access to this service from a particular transport
|
void |
enableTransport(String transportName)
Make this service available on a particular transport
|
void |
generateWSDL(MessageContext msgContext)
Generate WSDL.
|
ArrayList |
getActors()
Get the merged actor list for this service, including engine-wide
actor URIs.
|
AxisEngine |
getEngine() |
ServiceDesc |
getInitializedServiceDesc(MessageContext msgContext)
Returns a service description with the implementation class filled in.
|
List |
getRoles() |
int |
getSendType() |
ArrayList |
getServiceActors()
Get the service-specific actor list
|
ServiceDesc |
getServiceDescription() |
Style |
getStyle() |
TypeMappingRegistry |
getTypeMappingRegistry() |
Use |
getUse() |
void |
invoke(MessageContext msgContext)
Iterate over the chain invoking each handler.
|
boolean |
isRunning()
Is this service suspended?
|
boolean |
needsHighFidelityRecording() |
void |
setEngine(AxisEngine engine)
Tell this service which engine it's deployed to.
|
void |
setHighFidelityRecording(boolean highFidelityRecording) |
void |
setPropertyParent(Hashtable parent) |
void |
setRoles(List roles)
Set the service-specific role list
|
void |
setSendType(int sendType) |
void |
setServiceDescription(ServiceDesc serviceDescription) |
void |
setStyle(Style style) |
void |
setUse(Use style) |
void |
start()
Placeholder for "resume this service" method
|
void |
stop()
Placeholder for "suspend this service" method
|
getPivotHandler, getRequestHandler, getResponseHandler, init
addHandler, canHandleBlock, cleanup, contains, getDeploymentData, getHandlers, init, onFault
getName, getOption, getOptions, getUnderstoodHeaders, initHashtable, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHandler, contains, getHandlers
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, onFault, setName, setOption, setOptions
public Map serviceObjects
public int nextObjectID
public SOAPService()
public SOAPService(Handler reqHandler, Handler pivHandler, Handler respHandler)
public SOAPService(Handler serviceHandler)
public ArrayList getServiceActors()
public ArrayList getActors()
public List getRoles()
public void setRoles(List roles)
roles
- a List of Strings, each containing a role URIpublic TypeMappingRegistry getTypeMappingRegistry()
public void setEngine(AxisEngine engine)
public AxisEngine getEngine()
public boolean availableFromTransport(String transportName)
public Style getStyle()
public void setStyle(Style style)
public Use getUse()
public void setUse(Use style)
public ServiceDesc getServiceDescription()
public ServiceDesc getInitializedServiceDesc(MessageContext msgContext) throws AxisFault
AxisFault
public void setServiceDescription(ServiceDesc serviceDescription)
public void setPropertyParent(Hashtable parent)
public void generateWSDL(MessageContext msgContext) throws AxisFault
generateWSDL
in interface Handler
generateWSDL
in class SimpleChain
msgContext
- the MessageContext
to write the WSDL
out toAxisFault
- if there was a problem writing the WSDLpublic void start()
public void stop()
public boolean isRunning()
public void enableTransport(String transportName)
public void disableTransport(String transportName)
public boolean needsHighFidelityRecording()
public void setHighFidelityRecording(boolean highFidelityRecording)
public int getSendType()
public void setSendType(int sendType)
public void invoke(MessageContext msgContext) throws AxisFault
SimpleChain
invoke
in interface Handler
invoke
in class SimpleChain
msgContext
- the MessageContext
to process with this
Handler
.AxisFault
- if there was a fault with any of the handlersCopyright © The Apache Software Foundation. All Rights Reserved.