close
Closes the BoundedContext
performing all necessary clean-ups.
This method performs the following:
- Closes associated StorageFactory.
- Closes CommandBus.
- Closes EventBus.
- Closes IntegrationBroker.
- Closes EventStore.
- Closes Stand.
- Closes ImportBus.
- Closes TracerFactory if it is present.
- Closes all registered repositories.
Throws
caused by closing one of the components