Lifecycles

Each weave instance goes through a series of initialization steps when it’s created - for example, it needs to set up transportation, start the services and publish the local services to the remote nodes. Along the way, it also runs functions called lifecycle hooks, giving users the opportunity to add their own code at specific stages.

Broker lifecycle

![null][]

Service lifecycle