-
-
Notifications
You must be signed in to change notification settings - Fork 40
setLoadJavaClassesUsing
Julian Halliwell edited this page May 9, 2025
·
3 revisions
For the current spreadsheet library instance, specifies how classes from the supporting java libraries should be loaded.
setLoadJavaClassesUsing( method )
-
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.
-
You can also pass in the value via the init() method.
spreadsheet = New spreadsheetCFML.spreadsheet();
spreadsheet.setLoadJavaClassesUsing( "javaSettings" )
spreadsheet = New spreadsheetCFML.spreadsheet( loadJavaClassesUsing="javaSettings" );