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 and Description |
---|
CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker> linkers)
Creates a new composite linker.
|
Modifier and Type | Method and 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
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2