Hello World!

The time is {ts '2021-07-26 13:38:30'}

Scope
_poiLoader-308A5C3065057A5CA581A29341894B78
Component (javaLoader.JavaLoader)
Only the functions and data members that are accessible from your location are displayed
HintLoads External Java Classes, while providing access to ColdFusion classes
public
CREATE
create
Retrieves a reference to the java class. To create a instance, you must run init() on this object
Public Function create
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
classNametruestringnullThe name of the class to create
return typeany
GETCLASSLOADPATHS
Public Function getClassLoadPaths
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typearray
SWITCHTHREADCONTEXTCLASSLOADER
switchThreadContextClassLoader
Sometimes you will need to switch out the ThreadContextClassLoader with the classloader used by JavaLoader.<br/> It has : switchThreadContextClassLoader(function object, [struct function arguments], [classLoader=getURLClassLoader()]) switchThreadContextClassLoader(function name, [struct function arguments], [classLoader=getURLClassLoader()]) switchThreadContextClassLoader(object, function name, [struct function arguments], [classLoader=getURLClassLoader()]) This method can be used in 3 different ways: <ol> <li>Pass it the UDF itself</li> <li>Pass it the current object and method name that you wish to have called</li> <li>Inject it into your CFC/Page that you want to use, and call it from there, telling it what function to call (you will need to pass in the URLClassLoader)</li> </ol>
Public Function switchThreadContextClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
GETURLCLASSLOADER
getURLClassLoader
Returns the com.compoundtheory.classloader.NetworkClassLoader in case you need access to it
Public Function getURLClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
GETVERSION
getVersion
Retrieves the version of the loader you are using
Public Function getVersion
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
INIT
init
Constructor
Public Function init
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
loadPathsfalsearrayAn array of directories of classes, or paths to .jar files to load
loadColdFusionClassPathfalsebooleanfalseLoads the ColdFusion libraries
parentClassLoaderfalseany(Expert use only) The parent java.lang.ClassLoader to set when creating the URLClassLoader
sourceDirectoriesfalsearraynullDirectories that contain Java source code that are to be dynamically compiled
compileDirectoryfalsestringC:\lucee\lib\lucee-server\context\library\tag\/tmpthe directory to build the .jar file for dynamic compilation in, defaults to ./tmp
trustedSourcefalsebooleanfalseWhether or not the source is trusted, i.e. it is going to change? Defaults to false, so changes will be recompiled and loaded
return typeJavaLoader
private
CALCULATESOURCELASTMODIFIED
calculateSourceLastModified
returns what the source last modified was
Private Function calculateSourceLastModified
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typedatetime
GETSOURCEDIRECTORIES
Private Function getSourceDirectories
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typearray
SETPARENTCLASSLOADER
Private Function setParentClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
parentClassLoadertrueanynull
return typevoid
GETSERVERURLCLASSLOADER
getServerURLClassLoader
returns the server URL class loader
Private Function getServerURLClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
ISTRUSTEDSOURCE
Private Function isTrustedSource
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeboolean
COMPILESOURCE
compileSource
compile dynamic source
Private Function compileSource
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typevoid
SETJAVACOMPILER
Private Function setJavaCompiler
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
javaCompilertrueJavaCompilernull
return typevoid
CREATEJAVAPROXYCFC
createJavaProxyCFC
create a javaproxy, dependent on CF server settings
Private Function createJavaProxyCFC
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
classtrueanynullthe java class to create the proxy with
return typeany
CREATEWITHSOURCECHECK
createWithSourceCheck
does the create call, but first makes a source check
Private Function createWithSourceCheck
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
classNametruestringnullThe name of the class to create
return typeany
LOADCLASSES
loadClasses
loads up the classes in the system
Private Function loadClasses
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typevoid
CREATEJAVAPROXY
createJavaProxy
create a javaproxy, dependent on CF server settings
Private Function createJavaProxy
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
classtrueanynullthe java class to create the proxy with
return typeany
SETSOURCELASTMODIFIED
Private Function setSourceLastModified
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
sourceLastModifiedtruedatenull
return typevoid
QUERYJARS
queryJars
pulls a query of all the jars in the /resources/lib folder
Private Function queryJars
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typearray
CALCULATEJARNAME
calculateJarName
returns the jar file name for a directory array
Private Function calculateJarName
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
directoryArraytruearraynullarray of directories to compile
return typestring
HASSOURCELASTMODIFIED
hasSourceLastModified
whether this object has a sourceLastModified
Private Function hasSourceLastModified
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeboolean
HASJAVACOMPILER
hasJavaCompiler
whether this object has a javaCompiler
Private Function hasJavaCompiler
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeboolean
THROWEXCEPTION
throwException
Throws an Exception
Private Function throwException
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
typetruestringnullThe type of exception
messagetruestringnullThe message to accompany the exception
detailfalsestringThe detail message for the exception
return typeany
$DIRECTORYCOPY
Private Function $directoryCopy
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
sourcetruestringnull
destinationtruestringnull
nameconflicttrueanyoverwrite
return typeany
GETPARENTCLASSLOADER
Private Function getParentClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeany
INITUSEJAVAPROXYCFC
initUseJavaProxyCFC
initialise whether or not to use the JavaProxy CFC instead of the coldfusion java object
Private Function initUseJavaProxyCFC
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
SETCLASSLOADPATHS
Private Function setClassLoadPaths
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
classLoadPathstruearraynull
return typevoid
SETURLCLASSLOADER
Private Function setURLClassLoader
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
ClassLoadertrueanynull
return typevoid
ENSURENETWORKCLASSLOADERONSERVERSCOPE
ensureNetworkClassLoaderOnServerScope
makes sure there is a URL class loader on the server scope that can load me up some networkClassLoader goodness
Private Function ensureNetworkClassLoaderOnServerScope
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typevoid
GETJAVACOMPILER
Private Function getJavaCompiler
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typeJavaCompiler
GETSOURCELASTMODIFIED
Private Function getSourceLastModified
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typedatetime
SETTRUSTEDSOURCE
Private Function setTrustedSource
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
isTrustedSourcetruebooleannull
return typevoid
SETCOMPILEDIRECTORY
Private Function setCompileDirectory
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
compileDirectorytruestringnull
return typevoid
GETCOMPILEDIRECTORY
Private Function getCompileDirectory
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
return typestring
SETSOURCEDIRECTORIES
Private Function setSourceDirectories
source:C:\home\portal.nwgypsum.com\wwwroot\core\spreadsheetLibrary\javaLoader\JavaLoader.cfc
arguments
labelnamerequiredtypedefaulthint
sourceDirectoriestruearraynull
return typevoid
A0608BEC-0AEB-B46A-0E1E1EC5F3CE7C9C.1.2
URLClassLoader
classjava.net.URLClassLoader
methods
returninterfaceexceptions
java.net.URLClassLoadernewInstance(java.net.URL[], java.lang.ClassLoader)
java.net.URLClassLoadernewInstance(java.net.URL[])
java.io.InputStreamgetResourceAsStream(java.lang.String)
java.net.URLfindResource(java.lang.String)
java.util.EnumerationfindResources(java.lang.String)java.io.IOException
voidclose()java.io.IOException
java.net.URL[]getURLs()
java.lang.ClassloadClass(java.lang.String)java.lang.ClassNotFoundException
java.lang.ClassLoadergetSystemClassLoader()
java.net.URLgetResource(java.lang.String)
java.io.InputStreamgetSystemResourceAsStream(java.lang.String)
java.net.URLgetSystemResource(java.lang.String)
java.util.EnumerationgetResources(java.lang.String)java.io.IOException
java.util.EnumerationgetSystemResources(java.lang.String)java.io.IOException
java.lang.ClassLoadergetParent()
voidsetDefaultAssertionStatus(boolean)
voidsetPackageAssertionStatus(java.lang.String, boolean)
voidsetClassAssertionStatus(java.lang.String, boolean)
voidclearAssertionStatus()
Methods inherited from java.lang.Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
coldfusion
Struct
appserver
string
expiration
Date Time (America/Los_Angeles)
{ts '2037-12-31 15:00:00'}
installkit
string
productlevel
stringos
productname
stringLucee
productversion
string10,0,0,0
rootdir
stringC:\home\birchwooddairy.com\wwwroot
serialnumber
string0
supportedlocales
string,arabic (united arab emirates),arabic (jordan),arabic (syria),croatian (croatia),french (belgium),spanish (panama),maltese (malta),spanish (venezuela),bulgarian,chinese (taiwan),italian,korean,ukrainian,latvian,danish (denmark),spanish (puerto rico),vietnamese (vietnam),english (united states),serbian (montenegro),swedish (sweden),spanish (bolivia),english (singapore),arabic (bahrain),portuguese,arabic (saudi arabia),slovak,arabic (yemen),hindi (india),irish,english (malta),finnish (finland),estonian,swedish,czech,sr_BA_#Latn,greek,ukrainian (ukraine),hungarian,french (switzerland),indonesian,spanish (argentina),arabic (egypt),ja_JP_JP_#u-ca-japanese,spanish (el salvador),portuguese (brazil),belarusian,icelandic (iceland),czech (czech republic),spanish,polish (poland),turkish,catalan (spain),serbian (serbia and montenegro),malay (malaysia),croatian,lithuanian,spanish (spain),spanish (colombia),bulgarian (bulgaria),albanian,french,japanese,serbian (bosnia and herzegovina),icelandic,spanish (paraguay),german,spanish (ecuador),spanish (united states),arabic (sudan),english,romanian (romania),english (philippines),catalan,arabic (tunisia),sr_ME_#Latn,spanish (guatemala),slovenian,korean (south korea),greek (cyprus),spanish (mexico),russian (russia),spanish (honduras),chinese (hong kong),no_NO_NY,hungarian (hungary),thai (thailand),arabic (iraq),spanish (chile),finnish,arabic (morocco),irish (ireland),macedonian,turkish (turkey),estonian (estonia),arabic (qatar),serbian (latin),portuguese (portugal),french (luxembourg),arabic (oman),thai,albanian (albania),spanish (dominican republic),spanish (cuba),arabic,russian,english (new zealand),serbian (serbia),german (switzerland),spanish (uruguay),malay,greek (greece),hebrew (israel),english (south africa),th_TH_TH_#u-nu-thai,hindi,french (france),german (austria),dutch,norwegian (norway),english (australia),vietnamese,dutch (netherlands),french (canada),latvian (latvia),german (luxembourg),spanish (costa rica),arabic (kuwait),serbian,arabic (libya),maltese,italian (switzerland),danish,german (germany),arabic (algeria),slovak (slovakia),lithuanian (lithuania),italian (italy),english (ireland),chinese (singapore),romanian,english (canada),dutch (belgium),norwegian,polish,chinese (china),japanese (japan),german (greece),sr_RS_#Latn,hebrew,english (india),arabic (lebanon),spanish (nicaragua),chinese,macedonian (macedonia),belarusian (belarus),slovenian (slovenia),spanish (peru),indonesian (indonesia),english (united kingdom)
java
Struct
archModel
number64
executionPath
stringC:\lucee\tomcat\
freeMemory
number243012136
javaAgentSupported
booleantrue
maxMemory
number2147483648
totalMemory
number1073741824
vendor
stringAdoptOpenJDK
version
string1.8.0_292
lucee
Struct
loaderPath
stringC:\lucee\lib\lucee.jar
loaderVersion
number4.3
release-date
Date Time (America/Los_Angeles)
{ts '2018-04-09 02:29:32'}
state
stringfinal
version
string4.5.5.015
versionName
stringNeo
versionNameExplanation
stringhttps://www.facebook.com/neo.cfm
os
Struct
additionalinformation
string
arch
stringamd64
archModel
number64
buildnumber
string
macAddress
string00-50-56-BF-53-FC
name
stringWindows Server 2019
version
string10.0
separator
Struct
file
string\
line
string
path
string;
servlet
Struct
name
stringApache Tomcat/7.0.59