addSession
public void addSession(Session session)
Add this passed in Session to this Service's list of sessions
availableFromTransport
public boolean availableFromTransport(String transportName)
clearSessions
public void clearSessions()
Remove all of this Service's serviceObjects from it known sessions
disableTransport
public void disableTransport(String transportName)
Disable access to this service from a particular transport
enableTransport
public void enableTransport(String transportName)
Make this service available on a particular transport
generateWSDL
public void generateWSDL(MessageContext msgContext)
throws AxisFault
Generate WSDL. If we have a specific file configured in the
ServiceDesc, just return that. Otherwise run through all the Handlers
(including the provider) and call generateWSDL() on them via our
parent's implementation.
- generateWSDL in interface Handler
- generateWSDL in interface SimpleChain
getActors
public ArrayList getActors()
Get the merged actor list for this service, including engine-wide
actor URIs.
getInitializedServiceDesc
public ServiceDesc getInitializedServiceDesc(MessageContext msgContext)
throws AxisFault
Returns a service description with the implementation class filled in.
Syncronized to prevent simutaneous modification of serviceDescription.
getRoles
public List getRoles()
getSendType
public int getSendType()
getServiceActors
public ArrayList getServiceActors()
Get the service-specific actor list
getServiceDescription
public ServiceDesc getServiceDescription()
getStyle
public Style getStyle()
getUse
public Use getUse()
invoke
public void invoke(MessageContext msgContext)
throws AxisFault
Invoke is called to do the actual work of the Handler object.
If there is a fault during the processing of this method it is
invoke's job to catch the exception and undo any partial work
that has been completed. Once we leave 'invoke' if a fault
is thrown, this classes 'onFault' method will be called.
Invoke should rethrow any exceptions it catches, wrapped in
an AxisFault.
- invoke in interface Handler
- invoke in interface SimpleChain
msgContext
- the MessageContext
to process with this
Handler
.
AxisFault
- if the handler encounters an error
isRunning
public boolean isRunning()
Is this service suspended?
needsHighFidelityRecording
public boolean needsHighFidelityRecording()
setEngine
public void setEngine(AxisEngine engine)
Tell this service which engine it's deployed to.
setHighFidelityRecording
public void setHighFidelityRecording(boolean highFidelityRecording)
setPropertyParent
public void setPropertyParent(Hashtable parent)
setRoles
public void setRoles(List roles)
Set the service-specific role list
roles
- a List of Strings, each containing a role URI
setSendType
public void setSendType(int sendType)
setServiceDescription
public void setServiceDescription(ServiceDesc serviceDescription)
setStyle
public void setStyle(Style style)
setUse
public void setUse(Use style)
start
public void start()
Placeholder for "resume this service" method
stop
public void stop()
Placeholder for "suspend this service" method