Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetInterfaces – PB Docs 2018 – PowerBuilder Library

GetInterfaces – PB Docs 2018

GetInterfaces

Description

Populates a string array with the names of interfaces implemented
by the Java object that a PowerBuilder proxy object represents.

Syntax

Argument

Description

javavm

An instance of the JavaVM class

proxyobject

An instantiated PowerBuilder proxy
object

interfacename[ ]

A reference to an unbounded array of strings to
hold the names of interfaces implemented by the Java object
represented by the PowerBuilder proxy object

Return value

Integer.

Returns the number of interfaces implemented by the Java object
represented by proxyobject. If no interfaces are implemented by the Java
object, this method returns 0. If proxyobject is invalid, this method
returns -1.

Usage

If a class implements multiple interfaces, the proxy returned from
an EJB method call that returns a Java object maps to the first
interface implemented by the Java class. This method writes a list of
interfaces implemented by the class to an array of strings. It can be
used in conjunction with the DynamicCast method to cast the returned
proxy to the interface required.

For more information, see the description of the DynamicCast method.

See also

CreateJavaVM

DynamicCast

GetActualClass

GetSuperClass


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x