Skip to content

Add dependency injection support #5

@raner

Description

@raner

To minimize compile-time dependencies on Projo's API, Projo should support dependency injection in a fashion similar to loginject (see LogInjectionService.java and its implementations).

That way (at least for mutable objects),
Pojo pojo = create(Pojo.class);
can be replaced by
@Inject Provider<Pojo> pojoProvider;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions