:: 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