com.example.customerservice.flow
Class CustomerServiceWS
java.lang.Object
adams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.flow.webservice.AbstractWebServiceProvider
com.example.customerservice.flow.CustomerServiceWS
- All Implemented Interfaces:
- Debuggable, Destroyable, OptionHandler, SizeOfHandler, WebServiceProvider, Serializable
public class CustomerServiceWS
- extends AbstractWebServiceProvider
Simple webservice that returns example customer data.
- Version:
- $Revision: 5551 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
|
Field Summary |
protected org.apache.cxf.jaxws.EndpointImpl |
m_Endpoint
the endpoint. |
|
Method Summary |
protected void |
doStart()
Performs the actual start of the service. |
protected void |
doStop()
Performs the actual stop of the service. |
String |
getDefaultURL()
Returns the default URL for the service. |
String |
globalInfo()
Returns a string describing the object. |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
m_Endpoint
protected org.apache.cxf.jaxws.EndpointImpl m_Endpoint
- the endpoint.
CustomerServiceWS
public CustomerServiceWS()
globalInfo
public String globalInfo()
- Returns a string describing the object.
- Specified by:
globalInfo in class AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
getDefaultURL
public String getDefaultURL()
- Returns the default URL for the service.
- Specified by:
getDefaultURL in class AbstractWebServiceProvider
- Returns:
- the URL
doStart
protected void doStart()
throws Exception
- Performs the actual start of the service.
- Specified by:
doStart in class AbstractWebServiceProvider
- Throws:
Exception - if start fails
doStop
protected void doStop()
throws Exception
- Performs the actual stop of the service.
- Specified by:
doStop in class AbstractWebServiceProvider
- Throws:
Exception - if stopping fails
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.