org.languagetool.openoffice
Class SingletonFactory
Object
SingletonFactory
public class SingletonFactory
- extends Object
This class is a factory that creates only a single instance,
or a singleton, of the Main class. Used for performance
reasons and to allow various parts of code to interact.
- Author:
- Marcin MiĆkowski
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingletonFactory
public SingletonFactory()
createInstanceWithArgumentsAndContext
public final Object createInstanceWithArgumentsAndContext(Object[] arguments,
XComponentContext xContext)
throws Exception
- Throws:
Exception
createInstanceWithContext
public final Object createInstanceWithContext(XComponentContext xContext)
throws Exception
- Throws:
Exception
Copyright © 2005-2011 Daniel Naber