The Meta-Environment API

nl.cwi.sen1.visbase.factbrowser
Class FactBrowserFactorySingleton

java.lang.Object
  extended by 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
           
 
Constructor Summary
FactBrowserFactorySingleton()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_factory

private static nl.cwi.sen1.relationstores.Factory m_factory

m_pureFactory

private static aterm.pure.PureFactory m_pureFactory
Constructor Detail

FactBrowserFactorySingleton

public FactBrowserFactorySingleton()
Method Detail

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()

The Meta-Environment API