pt.moredata.programlaunch
Class CommandRunnerFactory

java.lang.Object
  extended bypt.moredata.programlaunch.CommandRunnerFactory

public class CommandRunnerFactory
extends java.lang.Object

CommandRunnerFactory.java Factory of CommandRunner instances. Company MoreData

Version:
$Revision: 1.5 $
Author:
psfbc

Method Summary
 pt.moredata.programlaunch.CommandRunner create(java.lang.String version, java.lang.String executionType)
          Factory method to create a CommandRunner.
static CommandRunnerFactory instance()
          Devolve a instancia (singleton) do CommandRunnerFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static CommandRunnerFactory instance()
Devolve a instancia (singleton) do CommandRunnerFactory.

Returns:
A instancia (singleton) do CommandRunnerFactory.

create

public pt.moredata.programlaunch.CommandRunner create(java.lang.String version,
                                                      java.lang.String executionType)
Factory method to create a CommandRunner.

Parameters:
version - Version of the protocol
executionType - Execution type (internal|external)
Returns:
A CommandRunner implementation for the protocol ans execution type specified.