|
Mura CMS 6.1 | ||||
| FRAMES | |||||
railo-context.Component
mura.javaloader.JavaProxy
public class JavaProxy
| Constructor Summary | |
|---|---|
init()
create an instance of this object |
|
| Method Summary | |
|---|---|
private array |
_buildArgumentArray(struct arguments)
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 railo-context.Component |
|---|
|
| Constructor Detail |
|---|
public init()
| Method Detail |
|---|
private array _buildArgumentArray(struct arguments)
arguments - the arguments passed throughpublic any _findMethod(string methodName, struct methodArgs)
methodName - the name of the methodmethodArgs - the arguments to look forprivate any _getArray()
private any _getClass()
private any _getClassInstance()
private any _getClassMethod()
private struct _getMethodCollection()
private any _getModifier()
private any _getObjectClass()
private boolean _hasClassInstance()
public JavaProxy _init(any class)
class - the java.lang.Class object this representsprivate void _initMethodCollection()
private any _resolveMethodByParams(string methodName, array decision, struct methodArgs)
methodName - the name of the methoddecision - the array of methods to decide frommethodArgs - the arguments to look forprivate void _setArray(any Array)
Arrayprivate void _setClass(any Class)
Classprivate void _setClassInstance(any ClassInstance)
ClassInstanceprivate void _setClassMethod(any ClassMethod)
ClassMethodprivate void _setMethodCollection(struct MethodCollection)
MethodCollectionprivate void _setModifier(any Modifier)
Modifierprivate void _setObjectClass(any ObjectClass)
ObjectClassprivate void _setStaticFields()
public any onMissingMethod(string missingMethodName, struct missingMethodArguments)
missingMethodNamemissingMethodArgumentsprivate any throwException(string type, string message, [string detail=''])
type - The type of exceptionmessage - The message to accompany the exceptiondetail - The detail message for the exception
|
Mura CMS 6.1 | ||||
| FRAMES | |||||