public class ArtifactCopyNativeLibraryFinder extends Object implements NativeLibraryFinder
| Modifier and Type | Field and Description |
|---|---|
protected static String |
JNILIB_EXTENSION |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ArtifactCopyNativeLibraryFinder(File tempFolder,
URL[] urls)
Creates a new native library finder
|
| Modifier and Type | Method and Description |
|---|---|
String |
findLibrary(String name,
String parentLibraryPath)
Finds a native library for the given name
|
protected org.slf4j.Logger logger
protected static final String JNILIB_EXTENSION
public ArtifactCopyNativeLibraryFinder(File tempFolder, URL[] urls)
tempFolder - folder where native lib files should be temporarily installed on each deployment.urls - all the URLs that are included in the artifact classloaderpublic String findLibrary(String name, String parentLibraryPath)
NativeLibraryFinderfindLibrary in interface NativeLibraryFindername - native library to findparentLibraryPath - library path for the given name in a parent class loading context. Can be null.Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.