com.tensegrity.graph.controller
Class GraphControllerFactory

java.lang.Object
  extended bycom.tensegrity.graph.controller.GraphControllerFactory

public abstract class GraphControllerFactory
extends java.lang.Object

The abstract base Class for a GraphControllerFactory. The GraphControllerFactory is an abstraction that permits the implementation independant creation of GraphControllerFactory. instances.

Version:
$Id: GraphControllerFactory.java,v 1.6 2003/11/19 17:15:58 sr Exp $
Author:
S. Rutz
See Also:
GraphController

Constructor Summary
GraphControllerFactory()
          Constructs a default instance of GraphControllerFactory
 
Method Summary
abstract  GraphController newClientServerGraphController(Graph graph)
          This method returns a new Client/Server- GraphController
static GraphControllerFactory newInstance()
          This method creates a new instance of the actual GraphControllerFactory implementation.
abstract  GraphController newModelBasedGraphController(Graph graph)
          This method returns a new Model-Based- GraphController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphControllerFactory

public GraphControllerFactory()
Constructs a default instance of GraphControllerFactory

Method Detail

newClientServerGraphController

public abstract GraphController newClientServerGraphController(Graph graph)
This method returns a new Client/Server- GraphController

Parameters:
graph - the graph to be managed by the controller.
Returns:
the created graph controller instance.

newModelBasedGraphController

public abstract GraphController newModelBasedGraphController(Graph graph)
This method returns a new Model-Based- GraphController

Parameters:
graph - the graph to be managed by the controller.
Returns:
the created graphcontroller instance.

newInstance

public static GraphControllerFactory newInstance()
This method creates a new instance of the actual GraphControllerFactory implementation.

Returns:
the GraphControllerFactory instance.
Throws:
a - FactoryConfigurationError is thrown whenever something goes wrong. For instance, there is no factory classname found or the factory class itself is not found or not accessable and so on


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.