barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

com.barchart.udt.lib
Class LibraryLoaderUDT

java.lang.Object
  extended by com.barchart.udt.lib.LibraryLoaderUDT
All Implemented Interfaces:
LibraryLoader

public class LibraryLoaderUDT
extends Object
implements 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


Constructor Summary
LibraryLoaderUDT()
           
 
Method Summary
 void load(String targetFolder)
          load using provided extract location
protected  void loadAll(List<String> sourceList, String targetFolder)
           
protected  void loadRelease(String targetFolder)
          try to load from JAR class path library
protected  void loadStaging(String targetFolder)
          try to load from NAR exploded class path library
protected  void loadTesting(String targetFolder)
          try to load from CDT exploded class path library
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryLoaderUDT

public LibraryLoaderUDT()
Method Detail

load

public void load(String targetFolder)
          throws Exception
load using provided extract location

Specified by:
load in interface LibraryLoader
Throws:
Exception

loadAll

protected void loadAll(List<String> sourceList,
                       String targetFolder)
                throws Exception
Throws:
Exception

loadRelease

protected void loadRelease(String targetFolder)
                    throws Exception
try to load from JAR class path library

Throws:
Exception

loadStaging

protected void loadStaging(String targetFolder)
                    throws Exception
try to load from NAR exploded class path library

Throws:
Exception

loadTesting

protected void loadTesting(String targetFolder)
                    throws Exception
try to load from CDT exploded class path library

Throws:
Exception

barchart-udt-core
2.3.0-SNAPSHOT / 2013-05-13T01:37:38.485-0500

Copyright © 2009-2013 Barchart, Inc.. All Rights Reserved.