Package | Description |
---|---|
org.dynalang.dynalink |
Contains the main API for using the dynamic linking facilities.
|
org.dynalang.dynalink.beans |
Contains the linker for POJOs.
|
org.dynalang.dynalink.linker |
Contains interfaces and classes needed by language runtimes to implement
their own language-specific linkers.
|
org.dynalang.dynalink.support |
Contains supporting classes for other packages.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicLinkerFactory.setFallbackLinkers(GuardingDynamicLinker... fallbackLinkers)
Sets the fallback linkers.
|
void |
DynamicLinkerFactory.setPrioritizedLinker(GuardingDynamicLinker prioritizedLinker)
Sets a single prioritized linker.
|
void |
DynamicLinkerFactory.setPrioritizedLinkers(GuardingDynamicLinker... prioritizedLinkers)
Sets the prioritized linkers.
|
Modifier and Type | Method and Description |
---|---|
void |
DynamicLinkerFactory.setFallbackLinkers(List<? extends GuardingDynamicLinker> fallbackLinkers)
Sets the fallback linkers.
|
void |
DynamicLinkerFactory.setPrioritizedLinkers(List<? extends GuardingDynamicLinker> prioritizedLinkers)
Sets the prioritized linkers.
|
Modifier and Type | Class and Description |
---|---|
class |
BeansLinker
A linker for POJOs.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TypeBasedGuardingDynamicLinker
A guarding dynamic linker that can determine whether it can link the call site solely based on the type of the first
argument at linking invocation time.
|
Modifier and Type | Class and Description |
---|---|
class |
BottomGuardingDynamicLinker
A linker that can't link any call site.
|
class |
CompositeGuardingDynamicLinker
A
GuardingDynamicLinker that delegates sequentially to a list of other guarding dynamic linkers. |
class |
CompositeTypeBasedGuardingDynamicLinker
A composite type-based guarding dynamic linker.
|
Modifier and Type | Method and Description |
---|---|
static List<GuardingDynamicLinker> |
AutoDiscovery.loadLinkers()
Discovers all guarding dynamic linkers listed in JAR files of the context class loader of the current thread.
|
static List<GuardingDynamicLinker> |
AutoDiscovery.loadLinkers(ClassLoader cl)
Discovers all guarding dynamic linkers listed in JAR files of the specified class loader.
|
static List<GuardingDynamicLinker> |
CompositeTypeBasedGuardingDynamicLinker.optimize(Iterable<? extends GuardingDynamicLinker> linkers)
Optimizes a list of type-based linkers.
|
Modifier and Type | Method and Description |
---|---|
static List<GuardingDynamicLinker> |
CompositeTypeBasedGuardingDynamicLinker.optimize(Iterable<? extends GuardingDynamicLinker> linkers)
Optimizes a list of type-based linkers.
|
Constructor and Description |
---|
LinkerServicesImpl(TypeConverterFactory typeConverterFactory,
GuardingDynamicLinker topLevelLinker)
Creates a new linker services object.
|
Constructor and Description |
---|
CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker> linkers)
Creates a new composite linker.
|
Copyright © 2015 Attila Szegedi. All rights reserved.