Skip to content

Introduce "service provider" to access commonly uses service #3

Description

@lacasseio

Some services are accessible via Project instance (although they are being slimed down in newer Gradle). However, some services are useful but only offered via @Inject. One example is SoftwareComponentFactory. We built a SoftwareComponentRegistry to remove the need for the service but in some cases, the service is required.

We should offer something along the lines of:

@NonExtensible
public abstract class SoftwareComponentFactoryProvider {
  SoftwareComponentFactory get();
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions