Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.infohazard.maverick.flow
Interface ShuntFactory  view ShuntFactory download ShuntFactory.java


public interface ShuntFactory

Pluggable modules which build Shunts must implement this interface and then be defined in the <modules> section of the Maverick config file. One factory is created to build all Shunts.

Version:
$Revision: 1.3 $ $Date: 2002/02/07 22:49:56 $

Method Summary
 Shunt createShunt()
          Creates an empty Shunt which will be populated.
 void init(org.jdom.Element factoryNode, javax.servlet.ServletConfig servletCfg)
          The factory is initialized with the XML element from the configuration file.
 

Method Detail

init

public void init(org.jdom.Element factoryNode,
                 javax.servlet.ServletConfig servletCfg)
          throws ConfigException
The factory is initialized with the XML element from the configuration file. Individual ShuntFactory implementations are free to interpret their XML nodes as they like.


createShunt

public Shunt createShunt()
                  throws ConfigException
Creates an empty Shunt which will be populated.