Hi Rony,

Rony G. Flatscher wrote:
Hi there,

it seems that the official way of getting all the interfaces there are is only available via an object which possesses the XTypeProvider interface. Does this mean that one could not infer from an UNO class object which interfaces it supplies, but would really need an instance of such a class?

that is right, most of the objects you get over the API are implemented in C++ and you got an proxy object in Java only. So you don't know the class object before you have a real instance of the object. The objects are created dynamically.


Looking at XIdlClass there is a method "getInterfaces()", which would be *exactly* what I would be looking for. Except, it is deprecated and one is urged not to call it. (How "dangerous" would it be, if one still would employ this method?)

Is there any other way to get at all interfaces of a XIdlClass via reflection, without the need to create an instance of it?
no

Juergen

TIA,

---rony


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to