Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: reflection ::

unpublished interface XSingletonTypeDescription2
Base Interfaces
XSingletonTypeDescription2XSingletonTypeDescriptionXTypeDescription

XSingletonTypeDescription
(referenced interface's summary:)
Reflects a singleton.
Usage Restrictions
not published
Description
Reflects a singleton, supporting interface-based singletons.

This type supersedes XSingletonTypeDescription, which only supports obsolete, service-based singletons.

Since
OOo 2.0

Methods' Summary
isInterfaceBased Returns whether this object reflects an interface-based singleton.  
getInterface Returns the interface type associated with the singleton.  
Methods' Details
isInterfaceBased
boolean
isInterfaceBased();

Description
Returns whether this object reflects an interface-based singleton.
Returns
true if this object reflects an interface-based singleton, and false if this object reflects an obsolete, service-based singleton
getInterface
XTypeDescription
getInterface();

Description
Returns the interface type associated with the singleton.
Returns
the reflection of the interface type associated with the singleton (of type XInterfaceTypeDescription or, in case of a typedef, XIndirectTypeDescription), for an interface-based singleton; for an obsolete, service-based singleton, NULL is returned
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.