Class ViewEngineFactory

Dependency factory whose token matches the abstract ViewEngine class, but produces a particular ViewEngine implementation based on the configuration.

Hierarchy

  • ConfiguredSingletonFactory<ViewEngine>
    • ViewEngineFactory

Constructors

Properties

config: Config
logging: Logging
token: any

Token that was registered for this factory. In most cases, this is the static form of the item that is to be produced by this factory.

Var

loggedDefaultImplementationWarningOnce: boolean = false

Methods

  • Get a human-readable name of the token this factory produces. This is meant for debugging output only.

    Returns string