|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoundtheory.coldfusion.cfc.CFCDynamicProxy
public class CFCDynamicProxy
This is a dynamic proxy for ColdFusion components, for complete interoperability between CFCs and Java objects,. Creation of the Proxy is done through one of the several createInstance() methods.
| Method Summary | |
|---|---|
static java.lang.Object |
createInstance(java.io.File path,
java.lang.Class<?>[] interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(java.io.File path,
java.lang.String[] interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(java.lang.String path,
java.lang.Class<?>[] interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(java.lang.String path,
java.util.List<java.lang.String> interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(java.lang.String path,
java.lang.String[] interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(coldfusion.runtime.TemplateProxy cfc,
java.lang.Class<?>[] interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(coldfusion.runtime.TemplateProxy cfc,
java.util.List<java.lang.String> interfaces)
Create a proxy instance |
static java.lang.Object |
createInstance(coldfusion.runtime.TemplateProxy cfc,
java.lang.String[] interfaces)
Create a proxy instance |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Object createInstance(java.io.File path,
java.lang.Class<?>[] interfaces)
throws java.lang.Throwable
path - The File that points to the CFCinterfaces - the proxy will implement
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(java.lang.String path,
java.lang.Class<?>[] interfaces)
throws java.lang.Throwable
path - Absolute path to the CFC we want to proxyinterfaces - the proxy will implement
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(java.io.File path,
java.lang.String[] interfaces)
throws java.lang.Throwable
path - The File that points to the CFCinterfaces - An array of the names of the classes that this proxy will implement.
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(java.lang.String path,
java.lang.String[] interfaces)
throws java.lang.Throwable
path - Absolute path to the CFC we want to proxyinterfaces - An array of the names of the classes that this proxy will implement.
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(java.lang.String path,
java.util.List<java.lang.String> interfaces)
throws java.lang.Throwable
path - Absolute path to the CFC we want to proxyinterfaces - A List of the names of the classes that this proxy will implement.
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(coldfusion.runtime.TemplateProxy cfc,
java.lang.Class<?>[] interfaces)
cfc - An actual CFC to pass in to the proxy.interfaces - the proxy will implement
public static java.lang.Object createInstance(coldfusion.runtime.TemplateProxy cfc,
java.lang.String[] interfaces)
throws java.lang.Throwable
cfc - An actual CFC to pass in to the proxy.interfaces - An array of the names of the classes that this proxy will implement.
java.lang.Throwable - if there is an error in the CFC
public static java.lang.Object createInstance(coldfusion.runtime.TemplateProxy cfc,
java.util.List<java.lang.String> interfaces)
throws java.lang.Throwable
cfc - An actual CFC to pass in to the proxy.interfaces - A List of the names of the classes that this proxy will implement.
java.lang.Throwable - if there is an error in the CFC
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||