Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.testng
Interface IInvokedMethodListener2

All Superinterfaces:
  IInvokedMethodListener, ITestNGListener

    public interface IInvokedMethodListener2

extends IInvokedMethodListener

Implement this interface if you need a handle to `ITestContext`.

Author:
  karthik.krishnan@gmail.com (Karthik Krishnan)

Method Summary
`void` | `afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)` To be implemented if the method needs a handle to contextual information.
`void` | `beforeInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context)` To be implemented if the method needs a handle to contextual information.

Methods inherited from interface org.testng.IInvokedMethodListener
`afterInvocation, beforeInvocation`

Method Detail

### beforeInvocation

    void beforeInvocation(IInvokedMethod method,
                          ITestResult testResult,
                          ITestContext context)

  To be implemented if the method needs a handle to contextual information.

### afterInvocation

    void afterInvocation(IInvokedMethod method,
                         ITestResult testResult,
                         ITestContext context)

  To be implemented if the method needs a handle to contextual information.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD