Package adams.flow.webservice.blob
Class RatsBlobServiceWS
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.webservice.AbstractWebServiceProvider
-
- adams.flow.webservice.blob.RatsBlobServiceWS
-
- 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,RatInputUser,WebServiceProvider,Serializable
public class RatsBlobServiceWS extends AbstractWebServiceProvider implements RatInputUser
Webservice for RATS Blob.- 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.EndpointImplm_Endpointend point for the web serviceprotected RatsBlobServicem_Implementationthe webservice implementation to use.protected RatInputm_RatInputthe associated rat input.-
Fields inherited from class adams.flow.webservice.AbstractWebServiceProvider
m_InInterceptor, m_OutInterceptor, m_Owner, m_Running, m_URL
-
-
Constructor Summary
Constructors Constructor Description RatsBlobServiceWS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.protected voiddoStart()Performs the actual start of the service.protected voiddoStop()Performs the actual stop of the service.StringgetDefaultURL()Returns the default URL for the service.RatsBlobServicegetImplementation()Returns the webservice implementation to use.RatInputgetRatInput()Returns the Rat input associated with this webservice.StringglobalInfo()Returns a string describing the object.StringimplementationTipText()Description of this option.voidsetImplementation(RatsBlobService value)Sets the webservice implementation to use.voidsetRatInput(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 RatsBlobService m_Implementation
the webservice implementation to use.
-
m_RatInput
protected RatInput m_RatInput
the associated rat input.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin 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:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classAbstractWebServiceProvider
-
getDefaultURL
public String getDefaultURL()
Returns the default URL for the service.- Specified by:
getDefaultURLin classAbstractWebServiceProvider- Returns:
- the URL
-
setRatInput
public void setRatInput(RatInput value)
Sets the Rat input associated with this webservice.- Specified by:
setRatInputin interfaceRatInputUser- Parameters:
value- the rat input
-
getRatInput
public RatInput getRatInput()
Returns the Rat input associated with this webservice.- Specified by:
getRatInputin interfaceRatInputUser- Returns:
- the rat input
-
setImplementation
public void setImplementation(RatsBlobService value)
Sets the webservice implementation to use.- Parameters:
value- the implementation
-
getImplementation
public RatsBlobService 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 ExceptionPerforms the actual start of the service.- Specified by:
doStartin classAbstractWebServiceProvider- Throws:
Exception- if start fails
-
doStop
protected void doStop() throws ExceptionPerforms the actual stop of the service.- Specified by:
doStopin classAbstractWebServiceProvider- Throws:
Exception- if stopping fails
-
-