setLoadJavaClassesUsing - cfsimplicity/spreadsheet-cfml GitHub Wiki
For the current spreadsheet library instance, specifies how classes from the supporting java libraries should be loaded.
setLoadJavaClassesUsing( method )
Required arguments
methodstring: one of the following:osgi: Classes will be loaded from the bundledlib-osgi.jar. The default for Lucee and only supported by Lucee.JavaLoader: Classes will be loaded from the/libfolder via JavaLoader. The default for Adobe ColdFusion.dynamicPath: Classes will be loaded from the/libfolder by passing the path as an argument toCreateObject(). Not supported by Adobe ColdFusion.javaSettingsorclassPath: Classes will be loaded usingCreateObject()with the assumption that you have made the contents of the/libfolder available to the engine via your application'sjavaSettingsor by adding them to the class path.
Note
You can also pass in the value via the init() method.
Example 1
spreadsheet = New spreadsheetCFML.spreadsheet();
spreadsheet.setLoadJavaClassesUsing( "javaSettings" )
Example 2: via the init() method
spreadsheet = New spreadsheetCFML.spreadsheet( loadJavaClassesUsing="javaSettings" );