public class JavaInvokeConfig
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
private java.lang.Object[] |
arguments
The arguments for this call.
|
private java.lang.Class<?> |
clazz
The Java
Class defining this method. |
private java.lang.reflect.Method |
method
The target method.
|
private java.lang.String |
webServiceToken
A token sent via a web service request, to execute the target service in the specified FWD context.
|
Constructor and Description |
---|
JavaInvokeConfig(java.lang.Class<?> cls,
java.lang.reflect.Method method)
Create a new invocation for the given target.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
getArguments()
Get the caller's
arguments . |
java.lang.Class<?> |
getClazz()
Get the target
clazz . |
java.lang.reflect.Method |
getMethod()
Get the target
method . |
java.lang.String |
getTarget()
Get a string representation of the target.
|
java.lang.String |
getWebServiceToken()
Get the web service token.
|
void |
readExternal(java.io.ObjectInput in)
Read this invoke configuration from a stream.
|
JavaInvokeConfig |
setArguments(java.lang.Object... args)
Set this invocation's
arguments . |
JavaInvokeConfig |
setWebServiceToken(java.lang.String webServiceToken)
Set the
webServiceToken . |
void |
writeExternal(java.io.ObjectOutput out)
Serialize this invoke configuration.
|
private java.lang.Class<?> clazz
Class
defining this method.private java.lang.reflect.Method method
private java.lang.Object[] arguments
private java.lang.String webServiceToken
public JavaInvokeConfig(java.lang.Class<?> cls, java.lang.reflect.Method method)
cls
- The Java Class
defining this method.method
- The target method.public java.lang.Class<?> getClazz()
clazz
.public java.lang.reflect.Method getMethod()
method
.public java.lang.Object[] getArguments()
arguments
.arguments
public JavaInvokeConfig setArguments(java.lang.Object... args)
arguments
.args
- A invocation's arguments.public java.lang.String getTarget()
public JavaInvokeConfig setWebServiceToken(java.lang.String webServiceToken)
webServiceToken
.webServiceToken
- The web service token.public java.lang.String getWebServiceToken()
webServiceToken
.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output stream.java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The input stream.java.io.IOException
java.lang.ClassNotFoundException