Class NotStartingService


public class NotStartingService extends Service
A simple service for testing a service which has problems in the notification method of node registering.
  • Constructor Details

    • NotStartingService

      public NotStartingService()
  • Method Details

    • onStart

      public void onStart() throws ServiceException
      Description copied from class: Service
      Notifies the service that it has been launched at the given node. Simple startup hook that may be overwritten in subclasses.
      Overrides:
      onStart in class Service
      Throws:
      ServiceException - Can be thrown if an error occurs. The service will not be advertised to be running.