nl.cwi.sen1.visbase.factbrowser
Class FactBrowserFactorySingleton
java.lang.Object
nl.cwi.sen1.visbase.factbrowser.FactBrowserFactorySingleton
public class FactBrowserFactorySingleton
- extends java.lang.Object
A Singleton class to share a single factory instance.
- Author:
- A. Belgraver, R. van Remortel
Field Summary |
private static nl.cwi.sen1.relationstores.Factory |
m_factory
|
private static aterm.pure.PureFactory |
m_pureFactory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_factory
private static nl.cwi.sen1.relationstores.Factory m_factory
m_pureFactory
private static aterm.pure.PureFactory m_pureFactory
FactBrowserFactorySingleton
public FactBrowserFactorySingleton()
getFactoryInstance
public static nl.cwi.sen1.relationstores.Factory getFactoryInstance()
- Get the factory instance.
- Returns:
- a new Factory (if none is present)
getPureFactoryInstance
public static aterm.pure.PureFactory getPureFactoryInstance()
- Get the factory instance.
- Returns:
- a new Factory (if none is present)
createInstances
private static void createInstances()