com.sun.star.lib.uno.helper
クラス Factory
java.lang.Object
|
+--com.sun.star.lib.uno.helper.WeakBase
|
+--com.sun.star.lib.uno.helper.ComponentBase
|
+--com.sun.star.lib.uno.helper.Factory
- すべての実装インタフェース:
- XComponent, XInterface, XServiceInfo, XSingleComponentFactory, XTypeProvider, XWeak
- public class Factory
- extends ComponentBase
- implements XSingleComponentFactory, XServiceInfo
Factory helper class supporting com.sun.star.lang.XServiceInfo and
com.sun.star.lang.XSingleComponentFactory.
createComponentFactory
public static XSingleComponentFactory createComponentFactory(Class impl_class,
String[] supported_services)
throws RuntimeException
- Creates an object factory supporting interfaces
com.sun.star.lang.XSingleComponentFactory and
com.sun.star.lang.XServiceInfo
- パラメータ:
impl_class
- implementation classsupported_services
- services implemented
- 戻り値:
- object factory
RuntimeException
writeRegistryServiceInfo
public static boolean writeRegistryServiceInfo(String impl_name,
String[] supported_services,
XRegistryKey xKey)
- Writes component's implementation info to given registry key.
- パラメータ:
impl_name
- name of implementationsupported_services
- supported services of implementationxKey
- registry key to write to
- 戻り値:
- success
createInstanceWithContext
public final Object createInstanceWithContext(XComponentContext xContext)
throws Exception
- 定義:
- インタフェース
XSingleComponentFactory
内の createInstanceWithContext
Exception
createInstanceWithArgumentsAndContext
public final Object createInstanceWithArgumentsAndContext(Object[] arguments,
XComponentContext xContext)
throws Exception
- 定義:
- インタフェース
XSingleComponentFactory
内の createInstanceWithArgumentsAndContext
Exception
getImplementationName
public final String getImplementationName()
- 定義:
- インタフェース
XServiceInfo
内の getImplementationName
supportsService
public final boolean supportsService(String service_name)
- 定義:
- インタフェース
XServiceInfo
内の supportsService
getSupportedServiceNames
public final String[] getSupportedServiceNames()
- 定義:
- インタフェース
XServiceInfo
内の getSupportedServiceNames