Lucee Function Reference
createdynamicproxy()
wrap the given component with a java class that implements the given interfaces.
Example
createdynamicproxy(object cfc,object interfaces):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| cfc | object | Yes | component or component name |
| interfaces | object | Yes | array of strings containing interface paths or a string list of interface paths. |