## Uses of Interface
java.lang.reflect.InvocationHandler

- Packages that use InvocationHandler
  Package | Description
  --- | ---
  java.lang.reflect | Provides classes and interfaces for obtaining reflective information about classes and objects.

- - ### Uses of InvocationHandler in java.lang.reflect

    Fields in java.lang.reflect declared as InvocationHandler
    Modifier and Type | Field and Description
    --- | ---
    `protected InvocationHandler` | Proxy.`h` the invocation handler for this proxy instance.

    Methods in java.lang.reflect that return InvocationHandler
    Modifier and Type | Method and Description
    --- | ---
    `static InvocationHandler` | Proxy.`getInvocationHandler(Object proxy)` Returns the invocation handler for the specified proxy instance.

    Methods in java.lang.reflect with parameters of type InvocationHandler
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | Proxy.`newProxyInstance(ClassLoader loader, Class<?>[] interfaces, InvocationHandler h)` Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.

    Constructors in java.lang.reflect with parameters of type InvocationHandler
    Constructor and Description
    `Proxy(InvocationHandler h)` Constructs a new `Proxy` instance from a subclass (typically, a dynamic proxy class) with the specified value for its invocation handler.

Copyright © 2025 API Design. All Rights Reserved.