Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Singleton *Plugins* don't resolve dependencies recurrently #487

Open
Labels
@hinerm

Description

If you have a non-contextual object that you want to connect with other contextual objects, and thus try to Context.inject it, any @Parameters that are SingletonServices will NOT be created/injected. You will get a [ERROR] java.lang.IllegalArgumentException: Required service is missing.

If those singleton services are initialized beforehand, e.g. as an @Parameter or another contextual object that is used before injecting the non-contextual object, then the injection will proceed without errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /