lucee.Componentcommandbox.system.services.JavaService
Copyright Since 2014 CommandBox by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com I handle Java installs for servers to use
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
configService
|
true
|
false
|
|
any
|
fileSystemUtil
|
true
|
false
|
|
any
|
interceptorService
|
true
|
false
|
|
any
|
javaDirectory
|
true
|
false
|
|
any
|
packageService
|
true
|
false
|
Method Summary | |
---|---|
string
|
getConfigService()
|
string
|
getFileSystemUtil()
|
string
|
getInterceptorService()
|
string
|
getJavaDirectory()
|
string
|
getJavaInstallDirectory()
Returns the full path to where server java installs are stored. |
any
|
getJavaInstallPath(string ID)
Install java version if needed, and return installation folder. |
string
|
getPackageService()
|
any
|
installJava(string ID, [boolean verbose='false'])
Install a java version. |
boolean
|
javaInstallExists(string ID)
Detect whether a specific version is installed. |
struct
|
listJavaInstalls()
List the Java installations including the Java install CommandBox is running. |
any
|
onDIComplete()
DI complete. |
any
|
postInstall()
Sort of hacky way to capture the last place we installed Java into. |
any
|
setConfigService(any configService)
|
any
|
setFileSystemUtil(any fileSystemUtil)
|
any
|
setInterceptorService(any interceptorService)
|
any
|
setJavaDirectory(any javaDirectory)
|
any
|
setPackageService(any packageService)
|
any
|
uninstallJava(string ID)
Remove a Java install. |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- configServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- fileSystemserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- InterceptorServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- packageServiceserializable
- trueMethod Detail |
---|
Returns the full path to where server java installs are stored
Install java version if needed, and return installation folder
ID
- Full ID of java installationInstall a java version
ID
- installation ID as defined by Java endpoint. If no endpoint name space, defaults to "java:"verbose
Detect whether a specific version is installed
ID
- Full ID of java installationList the Java installations including the Java install CommandBox is running
DI complete
Sort of hacky way to capture the last place we installed Java into
configService
fileSystemUtil
interceptorService
javaDirectory
packageService
Remove a Java install
ID
- Full ID of java installation