com.zphinx.spine.core.viewprocessors
Class ViewProcessorFactory

java.lang.Object
  extended by com.zphinx.spine.core.viewprocessors.ViewProcessorFactory

public class ViewProcessorFactory
extends Object

ViewProcessorFactory dictates how and when ViewProcessors are created by this system. A process should call this factory to retrieve the ViewProcessor which it needs to use

Version:
$1.0

Copyright ©Zphinx Software Solutions

Author:
David Ladapo

Method Summary
 ViewProcessor createProcessor(String processorConfigName)
          Creates a new processor of the specified name
static ViewProcessorFactory getInstance()
          Gets the only static instance of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ViewProcessorFactory getInstance()
Gets the only static instance of this object

Returns:
The static instance of this object

createProcessor

public ViewProcessor createProcessor(String processorConfigName)
Creates a new processor of the specified name

Parameters:
processorConfigName - The name of the processor in configuration
Returns:
An instance of a processor