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(Iterable<? extends GuardingDynamicLinker> linkers) |
Creates a new composite linker.
|
Modifier and Type | Method | Description |
---|---|---|
GuardedInvocation |
getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
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 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b158-1