lucee.Component
cbjavaloader.javaloader.JavaProxy
| Constructor Summary | |
|---|---|
|
init()
create an instance of this object. |
|
| Method Summary | |
|---|---|
private array
|
_buildArgumentArray(struct args)
builds an argument array out of the arguments. |
any
|
_findMethod(string methodName, struct methodArgs)
finds the method that closest matches the signature. |
private any
|
_getArray()
|
private any
|
_getClass()
|
private any
|
_getClassInstance()
|
private any
|
_getClassMethod()
|
private struct
|
_getMethodCollection()
|
private any
|
_getModifier()
|
private any
|
_getObjectClass()
|
private boolean
|
_hasClassInstance()
if the proxy has an instance yet. |
JavaProxy
|
_init(any class)
Constructor. |
private void
|
_initMethodCollection()
creates a method collection of all the methods that are available on the class (this may be cached externally later). |
private any
|
_resolveMethodByParams(string methodName, array decision, struct methodArgs)
resolves the method to use by the parameters provided. |
private void
|
_setArray(any Array)
|
private void
|
_setClass(any Class)
|
private void
|
_setClassInstance(any ClassInstance)
|
private void
|
_setClassMethod(any ClassMethod)
|
private void
|
_setMethodCollection(struct MethodCollection)
|
private void
|
_setModifier(any Modifier)
|
private void
|
_setObjectClass(any ObjectClass)
|
private void
|
_setStaticFields()
loops around all the fields and sets the static one to this scope. |
any
|
onMissingMethod(string missingMethodName, struct missingMethodArguments)
wires the coldfusion invocation to the Java Object. |
private any
|
throwException(string type, string message, [string detail=''])
Throws an Exception. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
create an instance of this object
| Method Detail |
|---|
builds an argument array out of the arguments
args - the arguments passed throughfinds the method that closest matches the signature
methodName - the name of the methodmethodArgs - the arguments to look forif the proxy has an instance yet
Constructor
class - the java.lang.Class object this representscreates a method collection of all the methods that are available on the class (this may be cached externally later)
resolves the method to use by the parameters provided
methodName - the name of the methoddecision - the array of methods to decide frommethodArgs - the arguments to look forArrayClassClassInstanceClassMethodMethodCollectionModifierObjectClassloops around all the fields and sets the static one to this scope
wires the coldfusion invocation to the Java Object
missingMethodNamemissingMethodArgumentsThrows an Exception
type - The type of exceptionmessage - The message to accompany the exceptiondetail - The detail message for the exception