JavaVM:
GetActualClass method
Description
Returns
the class of the Java object that a PowerBuilder proxy object represents.
Syntax
|
1 |
<span>javavm</span>.GetActualClass(powerobject <span>proxyobject</span><span></span>) |
|
Argument |
Description |
|---|---|
|
javavm |
An instance of the JavaVM class |
|
proxyobject |
An instantiated PowerBuilder proxy object |
Return Values
String
Usage
If an EJB method is defined to return a Java class that is
not the actual object returned at runtime, but is instead a class
that the actual object’s class extends or implements, you
can use GetActualClass to return the class of
the actual object returned. You can then use the DynamicCast method
to cast the proxy returned from the method to a proxy for the actual
class of the object.
For more information and an example, see the description of
the DynamicCast method.
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest