<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Feb 11 21:21:57 UTC 2011 --> <TITLE> Factory (Java UNO Runtime Reference) </TITLE> <META NAME="date" CONTENT="2011-02-11"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Factory (Java UNO Runtime Reference)"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Factory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> UDK 3.2.7 Java API Reference</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/sun/star/lib/uno/helper/InterfaceContainer.html" title="class in com.sun.star.lib.uno.helper"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/sun/star/lib/uno/helper/Factory.html" target="_top"><B>FRAMES</B></A> <A HREF="Factory.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sun.star.lib.uno.helper</FONT> <BR> Class Factory</H2> <PRE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">com.sun.star.lib.uno.helper.WeakBase</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">com.sun.star.lib.uno.helper.ComponentBase</A> <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>com.sun.star.lib.uno.helper.Factory</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true" title="class or interface in com.sun.star.lang">XComponent</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true" title="class or interface in com.sun.star.lang">XTypeProvider</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XInterface.html?is-external=true" title="class or interface in com.sun.star.uno">XInterface</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true" title="class or interface in com.sun.star.uno">XWeak</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>Factory</B><DT>extends <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A><DT>implements <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A>, <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A></DL> </PRE> <P> Factory helper class supporting com.sun.star.lang.XServiceInfo and com.sun.star.lang.XSingleComponentFactory. <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#bDisposed">bDisposed</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#bInDispose">bInDispose</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#listenerContainer">listenerContainer</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lib.uno.helper.WeakBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">WeakBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#_mapImplementationIds">_mapImplementationIds</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#_mapTypes">_mapTypes</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XSingleComponentFactory"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XServiceInfo"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XComponent"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true" title="class or interface in com.sun.star.lang">XComponent</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XComponent.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.uno.XWeak"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.uno.<A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true" title="class or interface in com.sun.star.uno">XWeak</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/uno/XWeak.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.uno">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <A NAME="fields_inherited_from_class_com.sun.star.lang.XTypeProvider"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Fields inherited from interface com.sun.star.lang.<A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true" title="class or interface in com.sun.star.lang">XTypeProvider</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XTypeProvider.html?is-external=true#UNOTYPEINFO" title="class or interface in com.sun.star.lang">UNOTYPEINFO</A></CODE></TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#createComponentFactory(java.lang.Class, java.lang.String[])">createComponentFactory</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> impl_class, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] supported_services)</CODE> <BR> Creates an object factory supporting interfaces com.sun.star.lang.XSingleComponentFactory and com.sun.star.lang.XServiceInfo</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#createInstanceWithArgumentsAndContext(java.lang.Object[], com.sun.star.uno.XComponentContext)">createInstanceWithArgumentsAndContext</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] arguments, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XComponentContext.html?is-external=true" title="class or interface in com.sun.star.uno">XComponentContext</A> xContext)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#createInstanceWithContext(com.sun.star.uno.XComponentContext)">createInstanceWithContext</A></B>(<A HREF="../../../../../../../../common/ref/com/sun/star/uno/XComponentContext.html?is-external=true" title="class or interface in com.sun.star.uno">XComponentContext</A> xContext)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#getImplementationName()">getImplementationName</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#getSupportedServiceNames()">getSupportedServiceNames</A></B>()</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#supportsService(java.lang.String)">supportsService</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> service_name)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../../com/sun/star/lib/uno/helper/Factory.html#writeRegistryServiceInfo(java.lang.String, java.lang.String[], com.sun.star.registry.XRegistryKey)">writeRegistryServiceInfo</A></B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> impl_name, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] supported_services, <A HREF="../../../../../../../../common/ref/com/sun/star/registry/XRegistryKey.html?is-external=true" title="class or interface in com.sun.star.registry">XRegistryKey</A> xKey)</CODE> <BR> Writes component's implementation info to given registry key.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper">ComponentBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#addEventListener(com.sun.star.lang.XEventListener)">addEventListener</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#dispose()">dispose</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#finalize()">finalize</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#postDisposing()">postDisposing</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#preDisposing()">preDisposing</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html#removeEventListener(com.sun.star.lang.XEventListener)">removeEventListener</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.sun.star.lib.uno.helper.WeakBase"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class com.sun.star.lib.uno.helper.<A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html" title="class in com.sun.star.lib.uno.helper">WeakBase</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#getImplementationId()">getImplementationId</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#getTypes()">getTypes</A>, <A HREF="../../../../../../com/sun/star/lib/uno/helper/WeakBase.html#queryAdapter()">queryAdapter</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="createComponentFactory(java.lang.Class, java.lang.String[])"><!-- --></A><H3> createComponentFactory</H3> <PRE> public static <A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A> <B>createComponentFactory</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A> impl_class, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] supported_services) throws <A HREF="../../../../../../../../common/ref/com/sun/star/uno/RuntimeException.html?is-external=true" title="class or interface in com.sun.star.uno">RuntimeException</A></PRE> <DL> <DD>Creates an object factory supporting interfaces com.sun.star.lang.XSingleComponentFactory and com.sun.star.lang.XServiceInfo <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>impl_class</CODE> - implementation class<DD><CODE>supported_services</CODE> - services implemented <DT><B>Returns:</B><DD>object factory <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/uno/RuntimeException.html?is-external=true" title="class or interface in com.sun.star.uno">RuntimeException</A></CODE></DL> </DD> </DL> <HR> <A NAME="writeRegistryServiceInfo(java.lang.String, java.lang.String[], com.sun.star.registry.XRegistryKey)"><!-- --></A><H3> writeRegistryServiceInfo</H3> <PRE> public static boolean <B>writeRegistryServiceInfo</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> impl_name, <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] supported_services, <A HREF="../../../../../../../../common/ref/com/sun/star/registry/XRegistryKey.html?is-external=true" title="class or interface in com.sun.star.registry">XRegistryKey</A> xKey)</PRE> <DL> <DD>Writes component's implementation info to given registry key. <P> <DD><DL> </DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>impl_name</CODE> - name of implementation<DD><CODE>supported_services</CODE> - supported services of implementation<DD><CODE>xKey</CODE> - registry key to write to <DT><B>Returns:</B><DD>success</DL> </DD> </DL> <HR> <A NAME="createInstanceWithContext(com.sun.star.uno.XComponentContext)"><!-- --></A><H3> createInstanceWithContext</H3> <PRE> public final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>createInstanceWithContext</B>(<A HREF="../../../../../../../../common/ref/com/sun/star/uno/XComponentContext.html?is-external=true" title="class or interface in com.sun.star.uno">XComponentContext</A> xContext) throws <A HREF="../../../../../../../../common/ref/com/sun/star/uno/Exception.html?is-external=true" title="class or interface in com.sun.star.uno">Exception</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true#createInstanceWithContext(com.sun.star.uno.XComponentContext)" title="class or interface in com.sun.star.lang">createInstanceWithContext</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/uno/Exception.html?is-external=true" title="class or interface in com.sun.star.uno">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="createInstanceWithArgumentsAndContext(java.lang.Object[], com.sun.star.uno.XComponentContext)"><!-- --></A><H3> createInstanceWithArgumentsAndContext</H3> <PRE> public final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>createInstanceWithArgumentsAndContext</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>[] arguments, <A HREF="../../../../../../../../common/ref/com/sun/star/uno/XComponentContext.html?is-external=true" title="class or interface in com.sun.star.uno">XComponentContext</A> xContext) throws <A HREF="../../../../../../../../common/ref/com/sun/star/uno/Exception.html?is-external=true" title="class or interface in com.sun.star.uno">Exception</A></PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true#createInstanceWithArgumentsAndContext(java.lang.Object[], com.sun.star.uno.XComponentContext)" title="class or interface in com.sun.star.lang">createInstanceWithArgumentsAndContext</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XSingleComponentFactory.html?is-external=true" title="class or interface in com.sun.star.lang">XSingleComponentFactory</A></CODE></DL> </DD> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/uno/Exception.html?is-external=true" title="class or interface in com.sun.star.uno">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="getImplementationName()"><!-- --></A><H3> getImplementationName</H3> <PRE> public final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getImplementationName</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true#getImplementationName()" title="class or interface in com.sun.star.lang">getImplementationName</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="supportsService(java.lang.String)"><!-- --></A><H3> supportsService</H3> <PRE> public final boolean <B>supportsService</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> service_name)</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true#supportsService(java.lang.String)" title="class or interface in com.sun.star.lang">supportsService</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getSupportedServiceNames()"><!-- --></A><H3> getSupportedServiceNames</H3> <PRE> public final <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>[] <B>getSupportedServiceNames</B>()</PRE> <DL> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true#getSupportedServiceNames()" title="class or interface in com.sun.star.lang">getSupportedServiceNames</A></CODE> in interface <CODE><A HREF="../../../../../../../../common/ref/com/sun/star/lang/XServiceInfo.html?is-external=true" title="class or interface in com.sun.star.lang">XServiceInfo</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Factory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> UDK 3.2.7 Java API Reference</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../com/sun/star/lib/uno/helper/ComponentBase.html" title="class in com.sun.star.lib.uno.helper"><B>PREV CLASS</B></A> <A HREF="../../../../../../com/sun/star/lib/uno/helper/InterfaceContainer.html" title="class in com.sun.star.lib.uno.helper"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../../index.html?com/sun/star/lib/uno/helper/Factory.html" target="_top"><B>FRAMES</B></A> <A HREF="Factory.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_com.sun.star.lib.uno.helper.ComponentBase">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>