lucee.Componentcommandbox.system.services.ServerEngineService
Copyright Since 2005 ColdBox Platform by Ortus Solutions, Corp www.coldbox.org | www.ortussolutions.com
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
artifactService
|
true
|
false
|
|
any
|
cr
|
true
|
false
|
|
any
|
endpointService
|
true
|
false
|
|
any
|
logger
|
true
|
false
|
|
any
|
packageService
|
true
|
false
|
|
any
|
semanticVersion
|
true
|
false
|
|
any
|
shell
|
true
|
false
|
|
any
|
tempDir
|
true
|
false
|
|
any
|
wirebox
|
true
|
false
|
Method Summary | |
---|---|
private any
|
calcLuceeRailoContextPaths([any installDetails], [any serverInfo])
|
any
|
configureWebXML(any cfengine, any version, any source, any destination, struct serverInfo)
configure web. |
string
|
getArtifactService()
|
string
|
getCr()
|
string
|
getEndpointService()
|
string
|
getLogger()
|
string
|
getPackageService()
|
string
|
getSemanticVersion()
|
string
|
getShell()
|
string
|
getTempDir()
|
string
|
getWirebox()
|
any
|
install(any cfengine, any baseDirectory, struct serverInfo, string serverHomeDirectory)
install the server if not already installed to the target directory. |
any
|
installAdobe([any installDetails], [any serverInfo])
install adobe. |
any
|
installEngineArchive(string ID, string destination, struct serverInfo, string serverHomeDirectory)
|
any
|
installLucee([any installDetails], [any serverInfo])
install lucee. |
any
|
installRailo([any installDetails], [any serverInfo])
install railo. |
any
|
setArtifactService(any artifactService)
|
any
|
setCr(any cr)
|
any
|
setEndpointService(any endpointService)
|
any
|
setLogger(any logger)
|
any
|
setPackageService(any packageService)
|
any
|
setSemanticVersion(any semanticVersion)
|
any
|
setShell(any shell)
|
any
|
setTempDir(any tempDir)
|
any
|
setWirebox(any wirebox)
|
private any
|
unpackInPlace([any packedFile])
Take a pack200 packed jar and unpack it into the same folder, deleting the original. |
private any
|
unpackLuceeJar([any libDirectory], [any luceeVersion])
Find the Lucee jar in the lib directory and if it's packed, unpack it. |
private any
|
writeXMLFile([any XMLDoc], [any path])
Write an XML file to disk and format it so it's human-readable. |
Methods inherited from class lucee.Component |
---|
None |
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- artifactServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- cr@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- EndpointServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:{this}serializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- PackageServiceserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- provider:semanticVersion@semverserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- shellserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- tempDir@constantsserializable
- trueaccess
- publicrequired
- falsereturntype
- anyinject
- wireboxserializable
- trueMethod Detail |
---|
installDetails
serverInfo
configure web.xml file for Lucee and Railo
cfengine
- lucee or railoversion
source
- source web.xmldestination
- target web.xmlserverInfo
install the server if not already installed to the target directory
cfengine
- CFML Engine name (lucee, adobe, railo)baseDirectory
- base directory for server installserverInfo
- The struct of server settingsserverHomeDirectory
- Override where the server's home with beinstall adobe
installDetails
serverInfo
ID
destination
serverInfo
serverHomeDirectory
install lucee
installDetails
serverInfo
install railo
installDetails
serverInfo
artifactService
cr
endpointService
logger
packageService
semanticVersion
shell
tempDir
wirebox
Take a pack200 packed jar and unpack it into the same folder, deleting the original
packedFile
- Path to the packed file named something.foo.pack.gz. Will be replaced with something.fooFind the Lucee jar in the lib directory and if it's packed, unpack it. If the unpacked jar is found in artifacts, use it instead. If not, unpack and store in artifacts for next time.
libDirectory
- Directory where the libs are for the serverluceeVersion
- Semver for the Lucee version so we can use artifactsWrite an XML file to disk and format it so it's human-readable
XMLDoc
- XML Doc to write (complex value)path
- File path to write XML to