org.cogroo.addon
Class SingletonFactory

java.lang.Object
  extended by org.cogroo.addon.SingletonFactory
All Implemented Interfaces:
com.sun.star.lang.XSingleComponentFactory, com.sun.star.uno.XInterface

public class SingletonFactory
extends Object
implements com.sun.star.lang.XSingleComponentFactory


Field Summary
 
Fields inherited from interface com.sun.star.lang.XSingleComponentFactory
UNOTYPEINFO
 
Constructor Summary
SingletonFactory()
           
 
Method Summary
 Object createInstanceWithArgumentsAndContext(Object[] arguments, com.sun.star.uno.XComponentContext xContext)
           
 Object createInstanceWithContext(com.sun.star.uno.XComponentContext xContext)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonFactory

public SingletonFactory()
Method Detail

createInstanceWithArgumentsAndContext

public final Object createInstanceWithArgumentsAndContext(Object[] arguments,
                                                          com.sun.star.uno.XComponentContext xContext)
                                                   throws com.sun.star.uno.Exception
Specified by:
createInstanceWithArgumentsAndContext in interface com.sun.star.lang.XSingleComponentFactory
Throws:
com.sun.star.uno.Exception

createInstanceWithContext

public final Object createInstanceWithContext(com.sun.star.uno.XComponentContext xContext)
                                       throws com.sun.star.uno.Exception
Specified by:
createInstanceWithContext in interface com.sun.star.lang.XSingleComponentFactory
Throws:
com.sun.star.uno.Exception


Copyright © 2012-2013 CoGrOO. All Rights Reserved.