lucee.Componentcoldbox.system.async.proxies.BaseProxy
Functional interface base dynamically compiled via dynamic proxy
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
System
java.
|
true
|
false
|
|
any
|
Thread
java.
|
true
|
false
|
|
boolean
|
debug
Debug Mode or not.
|
true
|
false
|
|
boolean
|
loadAppContext
Are we loading the CFML app context or not, default is true.
|
true
|
false
|
|
any
|
target
The target function to be applied via dynamic proxy to the required Java interface(s).
|
true
|
false
|
Constructor Summary | |
---|---|
init(any target, [boolean debug='false'], [boolean loadAppContext='true'])
Constructor. |
Method Summary | |
---|---|
any
|
err(any var)
Utility to send to output to console from a runnable via the error stream. |
any
|
getCFMLContext()
This function is used for the engine to compile the page context bif into the page scope,. |
any
|
getConcurrentEngineLockName()
Engine-specific lock name. |
any
|
getCurrentThread()
Get the current thread java object. |
string
|
getDebug()
|
string
|
getLoadAppContext()
|
string
|
getSystem()
|
string
|
getTarget()
|
string
|
getThread()
|
any
|
getThreadName()
Get the current thread name. |
any
|
loadContext()
Ability to load the context into the running thread. |
any
|
out(any var)
Utility to send to output to console from a runnable. |
any
|
setDebug(boolean debug)
|
any
|
setLoadAppContext(boolean loadAppContext)
|
any
|
setSystem(any System)
|
any
|
setTarget(any target)
|
any
|
setThread(any Thread)
|
any
|
unLoadContext()
Ability to unload the context out of the running thread. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
target
- The target function to be applied via dynamic proxy to the required Java interface(s)debug
- Add debugging messages for monitoringloadAppContext
- By default, we load the Application context into the running thread. If you don't need it, then don't load it.Property Detail |
---|
java.lang.System
access
- publicrequired
- falsereturntype
- anyserializable
- truejava.lang.Thread
access
- publicrequired
- falsereturntype
- anyserializable
- trueDebug Mode or not
access
- publicrequired
- falsereturntype
- anyserializable
- trueAre we loading the CFML app context or not, default is true
access
- publicrequired
- falsereturntype
- anyserializable
- trueThe target function to be applied via dynamic proxy to the required Java interface(s)
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Utility to send to output to console from a runnable via the error stream
var
- Variable/Message to sendThis function is used for the engine to compile the page context bif into the page scope, if not, we don't get access to it.
Engine-specific lock name. For Adobe, lock is shared for this CFC instance. On Lucee, it is random (i.e. not locked). This singlethreading on Adobe is to workaround a thread safety issue in the PageContext that needs fixed. Amend this check once Adobe fixes this in a later update
Get the current thread java object
Get the current thread name
Ability to load the context into the running thread
Utility to send to output to console from a runnable
var
- Variable/Message to senddebug
loadAppContext
System
target
Thread
Ability to unload the context out of the running thread