Class: RegistrationBuilder

RegistrationBuilder


new RegistrationBuilder(comp)

Private constructor. Instances are normally created internally and returned from calls to Container#register. The methods available are documented as Resolver modules. Several resolver methods can be chained by supplying one of the following properties for readability:
  • and
  • as
  • use
  • with
Parameters:
Name Type Description
comp *
Example
container.register("A", A)
  .with.constructor()
  .and.method("setB", "B");