Class RatsMultiSpectrumServiceWS
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.webservice.AbstractWebServiceProvider
-
- adams.flow.webservice.multispectrum.RatsMultiSpectrumServiceWS
-
- All Implemented Interfaces:
adams.core.CleanUpHandler
,adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.SizeOfHandler
,adams.flow.core.FlowContextHandler
,adams.flow.standalone.rats.input.RatInputUser
,adams.flow.webservice.WebServiceProvider
,Serializable
public class RatsMultiSpectrumServiceWS extends adams.flow.webservice.AbstractWebServiceProvider implements adams.flow.standalone.rats.input.RatInputUser
Webservice for RATS Spectrum.- Version:
- $Revision: 2094 $
- Author:
- Fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.cxf.jaxws.EndpointImpl
m_Endpoint
end point for the web serviceprotected RatsMultiSpectrumService
m_Implementation
the webservice implementation to use.protected adams.flow.standalone.rats.input.RatInput
m_RatInput
the associated rat input.
-
Constructor Summary
Constructors Constructor Description RatsMultiSpectrumServiceWS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.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.RatsMultiSpectrumService
getImplementation()
Returns the webservice implementation to use.adams.flow.standalone.rats.input.RatInput
getRatInput()
Returns the Rat input associated with this webservice.String
globalInfo()
Returns a string describing the object.String
implementationTipText()
Description of this option.void
setImplementation(RatsMultiSpectrumService value)
Sets the webservice implementation to use.void
setRatInput(adams.flow.standalone.rats.input.RatInput value)
Sets the Rat input associated with this webservice.-
Methods inherited from class adams.flow.webservice.AbstractWebServiceProvider
check, cleanUp, configureInterceptors, configureTLS, getDefaultInInterceptor, getDefaultOutInterceptor, getFlowContext, getInInterceptor, getOutInterceptor, getURL, inInterceptorTipText, isRunning, log, outInterceptorTipText, setFlowContext, setInInterceptor, setOutInterceptor, setURL, start, stop, URLTipText
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_Endpoint
protected transient org.apache.cxf.jaxws.EndpointImpl m_Endpoint
end point for the web service
-
m_Implementation
protected RatsMultiSpectrumService m_Implementation
the webservice implementation to use.
-
m_RatInput
protected adams.flow.standalone.rats.input.RatInput m_RatInput
the associated rat input.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceadams.core.option.OptionHandler
- Overrides:
defineOptions
in classadams.flow.webservice.AbstractWebServiceProvider
-
getDefaultURL
public String getDefaultURL()
Returns the default URL for the service.- Specified by:
getDefaultURL
in classadams.flow.webservice.AbstractWebServiceProvider
- Returns:
- the URL
-
setRatInput
public void setRatInput(adams.flow.standalone.rats.input.RatInput value)
Sets the Rat input associated with this webservice.- Specified by:
setRatInput
in interfaceadams.flow.standalone.rats.input.RatInputUser
- Parameters:
value
- the rat input
-
getRatInput
public adams.flow.standalone.rats.input.RatInput getRatInput()
Returns the Rat input associated with this webservice.- Specified by:
getRatInput
in interfaceadams.flow.standalone.rats.input.RatInputUser
- Returns:
- the rat input
-
setImplementation
public void setImplementation(RatsMultiSpectrumService value)
Sets the webservice implementation to use.- Parameters:
value
- the implementation
-
getImplementation
public RatsMultiSpectrumService getImplementation()
Returns the webservice implementation to use.- Returns:
- the implementation
-
implementationTipText
public String implementationTipText()
Description of this option.- Returns:
- the description for the GUI
-
doStart
protected void doStart() throws Exception
Performs the actual start of the service.- Specified by:
doStart
in classadams.flow.webservice.AbstractWebServiceProvider
- Throws:
Exception
- if start fails
-
-