Hierarchy

  • MidwayAspectService

Constructors

Properties

applicationContext: IMidwayContainer

Methods

  • intercept class method in prototype

    Parameters

    • Clz: (new (...args: any[]) => any)

      class you want to intercept

        • new (...args: any[]): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • methodName: string

      method name you want to intercept

    • aspectObject: IMethodAspect | (() => IMethodAspect)

      aspect object, before, round, etc.

    Returns void

Generated using TypeDoc