Skip to content

ENH: Simplify multi-module compilation and wiring by auto detecting provides and requires #262

Closed
@rbygrave

Description

@rbygrave

Add to Module:

  • autoProvides() as the types this module will provide. (Initially restricted to top level provided interfaces)
  • autoProvidesAspects() as the aspects this module will provide
  • autoRequires() as the types this module requires when wiring that are not provided locally but are provided by another module that is in the classpath at the time of compilation

Currently this all needs to be done manually via @InjectModule(provides=... , requires=...). Conceptually with these autoProvides and autoRequires this can be determined at compile time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions