Container.resolve

Resolve a types and returns an instance of that type.

Catch-all if the bean cannot be found. Will simply cause a compile error.

  1. Type resolve()
  2. Type resolve()
  3. Type resolve()
  4. template resolve(Type)
    class Container(T)
    template resolve (
    Type
    ) if (
    !is(Type == T) &&
    !hasBeanInstantiator!Type
    &&
    !hasAnnotation!(component, Type)
    )

Meta