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

unpublished interface XSingletonTypeDescription2
Base Interfaces
XSingletonTypeDescription2
┗ ::com::sun::star::reflection::XSingletonTypeDescription
   ┗ ::com::sun::star::reflection::XTypeDescription

::com::sun::star::reflection::XSingletonTypeDescription
(referenced interface's summary:)
Reflects a singleton.
Description
Reflects a singleton, supporting interface-based singletons.

This type supersedes ::com::sun::star::reflection::XSingletonTypeDescription , which only supports obsolete, service-based singletons.

Since
OpenOffice 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
::com::sun::star::reflection::XTypeDescription
getInterface();

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