org.ourgrid.common.executor
Class ExecutorFactory

java.lang.Object
  extended by org.ourgrid.common.executor.ExecutorFactory

public class ExecutorFactory
extends java.lang.Object

This class is responsible for obtaining an Executor instace according to the Operating System being used.


Constructor Summary
ExecutorFactory()
           
 
Method Summary
static Executor getExecutorInstance()
          This is a factory method that returns a Executor depending on the platform the software is running.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorFactory

public ExecutorFactory()
Method Detail

getExecutorInstance

public static Executor getExecutorInstance()
This is a factory method that returns a Executor depending on the platform the software is running.

Returns:
a concrete implementation of Executor depending on the OS