CreateDynamicProxy
Method Signature
CreateDynamicProxy(class=[any], interfaces=[any], classloader=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Tag Syntax
<bx:set instance = new cfc.helloWorld() >
<bx:set dynInstnace = createDynamicProxy( instance, [
"MyInterface"
] ) >
<bx:set x = createObject( "java", "InvokeHelloProxy" ).init( dynInstnace ) >
<bx:set y = x.invokeHello() >
<bx:output>#y#</bx:output>
Related
Last updated
Was this helpful?
