com.example.customerservice.flow
Class CustomerServiceWS

java.lang.Object
  extended by adams.core.ConsoleObject
      extended by adams.core.option.AbstractOptionHandler
          extended by adams.flow.webservice.AbstractWebServiceProvider
              extended by 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.
 
Fields inherited from class adams.flow.webservice.AbstractWebServiceProvider
m_Owner, m_URL
 
Fields inherited from class adams.core.option.AbstractOptionHandler
m_DebugLevel, m_OptionManager
 
Constructor Summary
CustomerServiceWS()
           
 
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.flow.webservice.AbstractWebServiceProvider
check, defineOptions, getOwner, getURL, log, setOwner, setURL, start, stop, URLTipText
 
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString
 
Methods inherited from class adams.core.ConsoleObject
getDebugging, getSystemErr, getSystemOut, sizeOf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_Endpoint

protected org.apache.cxf.jaxws.EndpointImpl m_Endpoint
the endpoint.

Constructor Detail

CustomerServiceWS

public CustomerServiceWS()
Method Detail

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.