GuardingDynamicLinker
public class CompositeGuardingDynamicLinker extends Object implements GuardingDynamicLinker
GuardingDynamicLinker
that delegates sequentially to a list of other guarding dynamic linkers in its getGuardedInvocation(LinkRequest, LinkerServices)
.Constructor | Description |
---|---|
CompositeGuardingDynamicLinker |
Creates a new composite linker. |
Modifier and Type | Method | Description |
---|---|---|
GuardedInvocation |
getGuardedInvocation |
Delegates the call to its component linkers. |
public CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker> linkers)
linkers
- a list of component linkers.NullPointerException
- if linkers
or any of its elements are null.public GuardedInvocation getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices) throws Exception
getGuardedInvocation
in interface GuardingDynamicLinker
linkRequest
- the object describing the request for linking a particular invocationlinkerServices
- linker servicesException
- if the operation fails for whatever reason
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.dynalink/jdk/dynalink/linker/support/CompositeGuardingDynamicLinker.html