(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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.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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.