mirror of
https://github.com/corda/corda.git
synced 2025-06-16 14:18:20 +00:00
CORDA-2942: Allow exception from CordaService
creation to propagate (#5884)
* CORDA-2942: Allow exception from `CordaService` creation to propagate It will ultimately be thrown from Node's `start()` method terminating the node start-up sequence. * CORDA-2942: Be lenient when retrievign the name of the Notary Some tests setup such that they do nto have Notary running.
This commit is contained in:
committed by
Matthew Nesbit
parent
1380779a9c
commit
42a2ed98e2
@ -8,7 +8,8 @@ API: Service Classes
|
||||
====================
|
||||
|
||||
Service classes are long-lived instances that can trigger or be triggered by flows from within a node. A Service class is limited to a
|
||||
single instance per node. During startup, the node handles the creation of the service.
|
||||
single instance per node. During startup, the node handles the creation of the service. If there is problem when instantiating service
|
||||
the node will report in the log what the problem was and terminate.
|
||||
|
||||
Services allow related, reusable, functions to be separated into their own class where their functionality is
|
||||
grouped together. These functions can then be called from other services or flows.
|
||||
|
Reference in New Issue
Block a user