Package com.barchart.udt.lib
Class LibraryLoaderUDT
java.lang.Object
com.barchart.udt.lib.LibraryLoaderUDT
- All Implemented Interfaces:
LibraryLoader
default library loader implementation;
tries to load native libraries by extracting them from from 3 possible class path locations, in the following order:
1) release : JAR packaged library
2) staging : NAR exploded class path library
3) testing : CDT exploded class path library
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload using provided extract locationprotected voidprotected voidloadRelease(String targetFolder) try to load from JAR class path libraryprotected voidloadStaging(String targetFolder) try to load from NAR exploded class path libraryprotected voidloadTesting(String targetFolder) try to load from CDT exploded class path library
-
Field Details
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
LibraryLoaderUDT
public LibraryLoaderUDT()
-
-
Method Details
-
load
load using provided extract location- Specified by:
loadin interfaceLibraryLoader- Throws:
Exception
-
loadAll
- Throws:
Exception
-
loadRelease
try to load from JAR class path library- Throws:
Exception
-
loadStaging
try to load from NAR exploded class path library- Throws:
Exception
-
loadTesting
try to load from CDT exploded class path library- Throws:
Exception
-