Uses of Interface
java.lang.reflect.InvocationHandler
-
Packages that use InvocationHandler Package Description java.beans Contains classes related to developing beans -- components based on the JavaBeans™ architecture.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects.java.rmi.server Provides classes and interfaces for supporting the server side of RMI.javax.management Provides the core classes for the Java Management Extensions.javax.management.openmbean Provides the open data types and Open MBean descriptor classes. -
-
Uses of InvocationHandler in java.beans
Classes in java.beans that implement InvocationHandler Modifier and Type Class and Description class
EventHandler
TheEventHandler
class provides support for dynamically generating event listeners whose methods execute a simple statement involving an incoming event object and a target object. -
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 newProxy
instance from a subclass (typically, a dynamic proxy class) with the specified value for its invocation handler. -
Uses of InvocationHandler in java.rmi.server
Classes in java.rmi.server that implement InvocationHandler Modifier and Type Class and Description class
RemoteObjectInvocationHandler
An implementation of theInvocationHandler
interface for use with Java Remote Method Invocation (Java RMI). -
Uses of InvocationHandler in javax.management
Classes in javax.management that implement InvocationHandler Modifier and Type Class and Description class
MBeanServerInvocationHandler
InvocationHandler
that forwards methods in an MBean's management interface through the MBean server to the MBean. -
Uses of InvocationHandler in javax.management.openmbean
Classes in javax.management.openmbean that implement InvocationHandler Modifier and Type Class and Description class
CompositeDataInvocationHandler
AnInvocationHandler
that forwards getter methods to aCompositeData
.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.