Class ServiceDesc

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Define serialVersionUID for interoperability.
        See Also:
        Constant Field Values
      • scname

        transient String scname
        service class name
      • args

        transient String args
        starting arguments, may be null
      • initialized

        transient boolean initialized
      • running

        transient boolean running
    • Constructor Detail

      • ServiceDesc

        public ServiceDesc​(String scname,
                           String args)
        Constructor.
        Parameters:
        scname - service class name
        args - starting parameters, may be null
    • Method Detail

      • getClassName

        public String getClassName()
        Gets the class name for service.
        Returns:
        the classname.
      • getArguments

        public String getArguments()
        Gets the starting arguments for service.
        Returns:
        the arguments.
      • isInitialized

        public boolean isInitialized()
        Tests if this Service is initialized.
        Returns:
        true if the Service is initialized.
      • isRunning

        public boolean isRunning()
        Tests if this Service is running.
        Returns:
        true if the Service is running.
      • toString

        public String toString()
        Provides a string image for this object.
        Overrides:
        toString in class Object
        Returns:
        printable image of this object