com.veromodo.tempo.filters
Class StageFactory

java.lang.Object
  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.

Author:
L. Michel, Panayotis

Constructor Summary
StageFactory()
           
 
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

StageFactory

public StageFactory()
Method Detail

newStage

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