|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.wlpi.common.ClassInvocationDescriptor
Describes and implements the invocation of a method in an arbitrary Java class. It is used to pass information on server-side classes to the client (where the class in question may not be accessible), and to instantiate such an object in the server and invoke a method thereon.
ClassDescriptor
,
EJBDescriptor
,
EJBInvocationDescriptor
, Serialized FormConstructor Summary | |
ClassInvocationDescriptor(java.lang.String description,
java.lang.String className,
MethodDescriptor constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions)
Create a new class invocation descriptor object. |
Method Summary | |
java.lang.String |
getClassName()
Return the fully qualified Java class name. |
MethodDescriptor |
getConstructor()
Return meta-data for constructor to invoke. |
java.lang.String[] |
getConstructorParmsDescriptions()
Return constructor parameter descriptions. |
java.lang.String |
getDescription()
Return a human-readable description of the method invocation. |
java.lang.String |
getId()
Return the system-assigned unique identifier. |
MethodDescriptor |
getMethod()
Return meta-data for method to invoke. |
java.lang.String[] |
getMethodParmsDescriptions()
Return method parameter descriptions. |
java.lang.Object |
invoke(java.lang.Object[] constructorParameters,
java.lang.Object[] methodParameters)
Create an instance of the Java class; then, invoke a method on it. |
java.lang.Object |
invokeConstructor(java.lang.Object[] constructorParameters)
Create an instance of the Java class. |
java.lang.Object |
invokeMethod(java.lang.Object obj,
java.lang.Object[] methodParameters)
Invoke the method specified by this descriptor on an object. |
void |
set(java.lang.String description,
java.lang.String className,
MethodDescriptor constructorDescriptor,
java.lang.String[] constructorParmDescriptions,
MethodDescriptor methodDescriptor,
java.lang.String[] methodParmDescriptions)
Update a class invocation descriptor. |
void |
setId(java.lang.String id)
Set the unique identifier. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ClassInvocationDescriptor(java.lang.String description, java.lang.String className, MethodDescriptor constructorDescriptor, java.lang.String[] constructorParmDescriptions, MethodDescriptor methodDescriptor, java.lang.String[] methodParmDescriptions)
description
- Human-readable description of the method invocation.className
- Fully qualified Java class name.constructorDescriptor
- Meta-data for constructor to invoke.constructorParmDescriptions
- Constructor parameter descriptions.methodDescriptor
- Meta-data for method to invoke.methodParmDescriptions
- Method parameter descriptions.Method Detail |
public void set(java.lang.String description, java.lang.String className, MethodDescriptor constructorDescriptor, java.lang.String[] constructorParmDescriptions, MethodDescriptor methodDescriptor, java.lang.String[] methodParmDescriptions)
description
- Human-readable description of the method invocation.className
- Fully qualified Java class name.constructorDescriptor
- Meta-data for constructor to invoke.constructorParmDescriptions
- Constructor parameter descriptions.methodDescriptor
- Meta-data for method to invoke.methodParmDescriptions
- Method parameter descriptions.public final java.lang.String getId()
setId(java.lang.String)
public void setId(java.lang.String id)
id
- The unique identifier.getId()
public final java.lang.String getClassName()
public final java.lang.String getDescription()
public final MethodDescriptor getMethod()
public final MethodDescriptor getConstructor()
public final java.lang.String[] getConstructorParmsDescriptions()
public final java.lang.String[] getMethodParmsDescriptions()
public java.lang.Object invoke(java.lang.Object[] constructorParameters, java.lang.Object[] methodParameters) throws WorkflowException
java.lang.*
object (e.g.,
int
is passed using a java.lang.Integer
object, long
using a java.lang.Long
, etc.).constructorParameters
- Actual constructor parameter values.methodParameters
- Actual method parameter values.invokeConstructor(java.lang.Object[])
,
invokeMethod(java.lang.Object, java.lang.Object[])
public java.lang.Object invokeConstructor(java.lang.Object[] constructorParameters) throws WorkflowException
java.lang.*
object (e.g., int
is passed using a
java.lang.Integer
object, long
using a
java.lang.Long
, etc.).constructorParameters
- Actual constructor parameter values.invoke(java.lang.Object[], java.lang.Object[])
,
invokeMethod(java.lang.Object, java.lang.Object[])
public java.lang.Object invokeMethod(java.lang.Object obj, java.lang.Object[] methodParameters) throws WorkflowException
java.lang.*
object (e.g., int
is passed using a
java.lang.Integer
object, long
using a
java.lang.Long
, etc.).obj
- An instance of the class specified by this descriptor object,
on which the specified method is to be invoked.methodParameters
- Actual method parameter values.invoke(java.lang.Object[], java.lang.Object[])
,
invokeConstructor(java.lang.Object[])
|
WebLogic Process Integrator Version 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |