public class TechilaProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
| Modifier and Type | Method and Description |
|---|---|
MultipleOutputs |
build(java.lang.Class<? extends MultipleOutputs<?>> resultType) |
java.lang.Object |
call(java.lang.String methodName,
java.lang.Class resultType,
java.lang.Class innerResultType,
java.lang.Object... inputArgs)
Call dynamically an application method.
|
java.lang.Object |
call(java.lang.String methodName,
java.lang.Class resultType,
Control execControl,
java.lang.Object... inputArgs)
Call dynamically an application method.
|
java.lang.Object |
call(java.lang.String methodName,
java.lang.Class resultType,
java.lang.Object... inputArgs)
Call dynamically an application method.
|
java.util.Vector<byte[]> |
execute(byte[] input) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invokes the proxy method.
|
static TechilaProxy |
register(TechilaManager tm,
java.lang.String service)
Register application without interface for dynamic calling.
|
static <T> T |
register(TechilaManager tm,
java.lang.String service,
java.lang.Class c,
Control execControl)
Register application with given interface.
|
static TechilaProxy |
register(TechilaManager tm,
java.lang.String service,
Control execControl)
Register application without interface for dynamic calling.
|
public static <T> T register(TechilaManager tm, java.lang.String service, java.lang.Class c, Control execControl) throws java.lang.Exception
T - tm - TechilaManagerservice - The application bundle name in Techila environmentc - The interface of the application methodjava.lang.Exceptionpublic static TechilaProxy register(TechilaManager tm, java.lang.String service) throws java.lang.Exception
tm - TechilaManagerservice - The application bundle name in Techila environmentjava.lang.Exceptionpublic static TechilaProxy register(TechilaManager tm, java.lang.String service, Control execControl) throws java.lang.Exception
tm - TechilaManagerservice - The application bundle name in Techila environmentexecControl - Control objectjava.lang.Exceptionpublic java.lang.Object call(java.lang.String methodName,
java.lang.Class resultType,
java.lang.Object... inputArgs)
throws java.lang.Exception
methodName - the name of the methodresultType - the class describing the resultsinputArgs - the method input arguments.java.lang.Exceptionpublic java.lang.Object call(java.lang.String methodName,
java.lang.Class resultType,
java.lang.Class innerResultType,
java.lang.Object... inputArgs)
throws java.lang.Exception
methodName - the name of the methodresultType - the class describing the resultsinputArgs - the method input arguments.innerResultType - If the resultType is MultipleOutputs, this is used to describe the inner result type.java.lang.Exceptionpublic java.lang.Object call(java.lang.String methodName,
java.lang.Class resultType,
Control execControl,
java.lang.Object... inputArgs)
throws java.lang.Exception
methodName - the name of the methodresultType - the class describing the resultsinputArgs - the method input arguments.execControl - Control parameters for the executionjava.lang.Exceptionpublic 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.Throwablepublic java.util.Vector<byte[]> execute(byte[] input)
throws java.lang.Exception
java.lang.Exceptionpublic MultipleOutputs build(java.lang.Class<? extends MultipleOutputs<?>> resultType) throws java.lang.Exception
java.lang.Exception