xsul.xservo
Class XServiceBase
java.lang.Object
xsul.xservo.XServiceBase
- All Implemented Interfaces:
- MessageProcessingNode, MessageRouter, XService
- Direct Known Subclasses:
- DoNothingServiceBase, XmlBeansBasedService, XSoapRpcBasedService
- public abstract class XServiceBase
- extends java.lang.Object
- implements XService
Base class to help to build XService implmentations
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XServiceBase
public XServiceBase(java.lang.String name)
addHandler
public XService addHandler(XHandler handler)
- Specified by:
addHandler in interface XService
setServiceShutdown
public void setServiceShutdown(boolean serviceShutdown)
isServiceShutdown
public boolean isServiceShutdown()
setServiceStarted
public void setServiceStarted(boolean serviceStart)
isServiceStarted
public boolean isServiceStarted()
getName
public java.lang.String getName()
- Specified by:
getName in interface XService
getWsdl
public WsdlDefinitions getWsdl()
- Specified by:
getWsdl in interface XService
useWsdl
public void useWsdl(WsdlDefinitions defs)
- Specified by:
useWsdl in interface XService
getWsdlLocationToUse
public java.lang.String getWsdlLocationToUse()
- Specified by:
getWsdlLocationToUse in interface XService
useWsdlFromLocation
public void useWsdlFromLocation(java.lang.String wsdlLoc)
- Specified by:
useWsdlFromLocation in interface XService
useWsdlPort
public void useWsdlPort(QName portTypeQname,
java.lang.Class javaInterface)
- Specified by:
useWsdlPort in interface XService
getServiceImpl
public java.lang.Object getServiceImpl()
- Specified by:
getServiceImpl in interface XService
useServiceImpl
public void useServiceImpl(java.lang.Object impl)
- Specified by:
useServiceImpl in interface XService
startService
public void startService()
throws MessageRouterException
- Specified by:
startService in interface MessageRouter
- Throws:
MessageRouterException
stopService
public void stopService()
throws MessageRouterException
- Specified by:
stopService in interface MessageRouter
- Throws:
MessageRouterException
shutdownService
public void shutdownService()
throws MessageRouterException
- Specified by:
shutdownService in interface MessageRouter
- Throws:
MessageRouterException
invoke
public abstract void invoke(MessageContext ctx)
throws MessageProcessingException
- Throws:
MessageProcessingException
process
public boolean process(MessageContext ctx)
throws MessageProcessingException
- Description copied from interface:
MessageProcessingNode
- Return true to indicate that processingis should be finished
(no more links in chain will be called).
- Specified by:
process in interface MessageProcessingNode
- Throws:
MessageProcessingException
IU Extreme! Lab (http://www.extreme.indiana.edu)