org.grinvin.factories.graphs
Class GraphFactoryManager
java.lang.Object
org.grinvin.factories.graphs.GraphFactoryManager
public final class GraphFactoryManager
extends java.lang.Object
Keeps track of all graph factories that are currently supported by the system.
This is a singleton class. The single shared object of this class can be retreived
using the method
getInstance()
.
addToList
public void addToList(List list)
Add all graph factories to the given list.
getGraphFactory
public GraphFactory getGraphFactory(String id)
Return the factory with the given id.
getIds
public Iterable getIds()
Return the list of all ids, in the form of an Iterable
.
getInstance
public static GraphFactoryManager getInstance()
Retrieve the single (shared) instance of this class.