Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1832

ServiceFactory must not be deactivated if the instances fails to be created

    XMLWordPrintableJSON

Details

    Description

      The AbstractComponentManager.Registered state (Satisfied state for delayed and service factory components) class tries to deactivate the component if the component instance cannot be created and setup. Part of this deactivation is actually unregistration of the service factory service.

      This may fail if the getService method is called as part of a chain of service activations, one of which is actually trying to get the service instance from the factory. It is not allowed to unregister this exact service in this situation.

      So, instead of deactivating the component, the component instance is just deleted and the component remains in the registered state.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: