jef.mixers
Interface MixerFactory

All Known Implementing Classes:
DnaSimpleMixerFactory

public interface MixerFactory

This class is used for instantiating new dna mixers. The fully qualified class name of the required mixer factory has to be pointed out into the JefConfig configuration file.

Author:
frusso

Method Summary
 DnaMixer getDnaMixer()
          This method returns a valid DnaMixer instance.
 void registerNewImplementation(java.lang.String keyword, java.lang.String fqcn)
          This method registers a new mapping identifying a new DnaMixer implementation.
 

Method Detail

getDnaMixer

DnaMixer getDnaMixer()
                     throws InstantiatorException
This method returns a valid DnaMixer instance.

Returns:
DnaMixer
Throws:
java.lang.InstantiationException
InstantiatorException

registerNewImplementation

void registerNewImplementation(java.lang.String keyword,
                               java.lang.String fqcn)
This method registers a new mapping identifying a new DnaMixer implementation.

Parameters:
keyword - The keyword identifying the new registered DnaMixer implementation class
fqcn - The fully qualified class name of the DnaMixer interface