nl.cwi.sen1.visplugin
Class VisualizationFactorySingleton
java.lang.Object
nl.cwi.sen1.visplugin.VisualizationFactorySingleton
public class VisualizationFactorySingleton
- 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
|
Method Summary |
private static void |
createInstances()
|
static nl.cwi.sen1.relationstores.Factory |
getFactoryInstance()
Get the factory instance. |
static aterm.pure.PureFactory |
getPureFactoryInstance()
Get the factory instance. |
static void |
initInstances(aterm.pure.PureFactory pureFactory,
nl.cwi.sen1.relationstores.Factory factory)
Allows for initialization of the factories with the factories given by
the MetaStudio. |
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
VisualizationFactorySingleton
public VisualizationFactorySingleton()
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)
initInstances
public static void initInstances(aterm.pure.PureFactory pureFactory,
nl.cwi.sen1.relationstores.Factory factory)
- Allows for initialization of the factories with the factories given by
the MetaStudio.
- Parameters:
pureFactory
- Pure factory.factory
- RStore factory.
createInstances
private static void createInstances()