Project: mule
Issue MULE-8569: Applications and corresponding domains should share the same OptionalObjectController
OptionalObjectsController is used to track objects registered through registry-bootstrap.properties which are optional. When an application belongs to a domain, that instance should be shared between the app and the domain.
Story points: 5