Class DataExchangeServer

  • 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, RESTProvider, Serializable

    public class DataExchangeServer
    extends AbstractRESTProvider
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • DataExchangeServer

        public DataExchangeServer()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.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 interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractRESTProvider
      • setAuthentication

        public void setAuthentication​(AbstractAuthentication value)
        Sets the authentication scheme.
        Parameters:
        value - the scheme
      • getAuthentication

        public AbstractAuthentication getAuthentication()
        Returns the authentication scheme.
        Returns:
        the scheme
      • authenticationTipText

        public String authenticationTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBackend

        public void setBackend​(AbstractBackend value)
        Sets the backend scheme.
        Parameters:
        value - the scheme
      • getBackend

        public AbstractBackend getBackend()
        Returns the backend scheme.
        Returns:
        the scheme
      • backendTipText

        public String backendTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doStart

        protected org.apache.cxf.endpoint.Server doStart()
                                                  throws Exception
        Performs the actual start of the service.
        Specified by:
        doStart in class AbstractRESTProvider
        Returns:
        the server instance
        Throws:
        Exception - if start fails