public class Factory extends ComponentBase
bDisposed, bInDispose, listenerContainer_mapImplementationIds, _mapTypes| Modifier and Type | Method and Description |
|---|---|
static XSingleComponentFactory |
createComponentFactory(java.lang.Class impl_class,
java.lang.String[] supported_services)
Creates an object factory supporting interfaces
com.sun.star.lang.XSingleComponentFactory and
com.sun.star.lang.XServiceInfo
The implementation name is the name of the implementation class.
|
static XSingleComponentFactory |
createComponentFactory(java.lang.Class impl_class,
java.lang.String impl_name,
java.lang.String[] supported_services)
Creates an object factory supporting interfaces
com.sun.star.lang.XSingleComponentFactory and
com.sun.star.lang.XServiceInfo
|
java.lang.Object |
createInstanceWithArgumentsAndContext(java.lang.Object[] arguments,
XComponentContext xContext) |
java.lang.Object |
createInstanceWithContext(XComponentContext xContext) |
java.lang.String |
getImplementationName() |
java.lang.String[] |
getSupportedServiceNames() |
boolean |
supportsService(java.lang.String service_name) |
static boolean |
writeRegistryServiceInfo(java.lang.String impl_name,
java.lang.String[] supported_services,
XRegistryKey xKey)
Writes component's implementation info to given registry key.
|
addEventListener, dispose, finalize, postDisposing, preDisposing, removeEventListenergetImplementationId, getTypes, queryAdapterpublic static XSingleComponentFactory createComponentFactory(java.lang.Class impl_class,
java.lang.String impl_name,
java.lang.String[] supported_services)
throws com.sun.star.uno.RuntimeException
impl_class - implementation classimpl_name - implementation namesupported_services - services implementedcom.sun.star.uno.RuntimeExceptionpublic static XSingleComponentFactory createComponentFactory(java.lang.Class impl_class,
java.lang.String[] supported_services)
throws com.sun.star.uno.RuntimeException
impl_class - implementation classsupported_services - services implementedcom.sun.star.uno.RuntimeExceptionpublic static boolean writeRegistryServiceInfo(java.lang.String impl_name,
java.lang.String[] supported_services,
XRegistryKey xKey)
impl_name - name of implementationsupported_services - supported services of implementationxKey - registry key to write topublic final java.lang.Object createInstanceWithContext(XComponentContext xContext)
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic final java.lang.Object createInstanceWithArgumentsAndContext(java.lang.Object[] arguments,
XComponentContext xContext)
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic final java.lang.String getImplementationName()
public final boolean supportsService(java.lang.String service_name)
public final java.lang.String[] getSupportedServiceNames()