Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServiceFactory

The factory used to instantiate the object services

Hierarchy

  • ServiceFactory

Index

Properties

Properties

create

create: function

Create a new service object. Called before each request handling.

Type declaration

    • (serviceClass: Function): any
    • Parameters

      • serviceClass: Function

      Returns any

getTargetClass

getTargetClass: function

Return the type used to handle requests to the target service. By default, returns the serviceClass received, but you can use this to implement IoC integrations.

Type declaration

    • (serviceClass: Function): FunctionConstructor
    • Parameters

      • serviceClass: Function

      Returns FunctionConstructor

Generated using TypeDoc