Class StageFactory

  extended by com.veromodo.tempo.filters.StageFactory

public class StageFactory
extends java.lang.Object

Abstract factory design pattern for Stages. This class will never be instantiated. It serves as an interface. Actual plugins will contain a subclass with the exact same name and that class will have a newStage to create an actual stage from the plugin. The class loader will find the meta-class object for the plugin version of StageFactory and instantiate it to finally call newStage on it.

L. Michel, Panayotis

Constructor Summary
Method Summary
 Stage newStage(ErrorLog log)
          The actual stage factory method.
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public StageFactory()
Method Detail


public Stage newStage(ErrorLog log)
The actual stage factory method.