Package i5.las2peer.testing
Class NotStartingService
java.lang.Object
i5.las2peer.api.Configurable
i5.las2peer.api.Service
i5.las2peer.testing.NotStartingService
A simple service for testing a service which has problems in the notification method of node registering.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onStart()
Notifies the service that it has been launched at the given node.Methods inherited from class i5.las2peer.api.Service
getAgent, getAlias, getCustomMessageDescriptions, getLogger, isMonitor, isSelfDeployable, onStart, onStop, setFieldValues
Methods inherited from class i5.las2peer.api.Configurable
getProperties
-
Constructor Details
-
NotStartingService
public NotStartingService()
-
-
Method Details
-
onStart
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 classService
- Throws:
ServiceException
- Can be thrown if an error occurs. The service will not be advertised to be running.
-