com.simba.dsi.core.impl
Class DSIDriverSingleton

java.lang.Object
  extended by com.simba.dsi.core.impl.DSIDriverSingleton

public class DSIDriverSingleton
extends java.lang.Object

Implementation of a singleton for holding an instance of an IDriver.


Constructor Summary
DSIDriverSingleton()
           
 
Method Summary
static IDriver getInstance()
          Gets the IDriver stored in the singleton.
static void setInstance(IDriver driver)
          Sets the IDriver instance for this singleton.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSIDriverSingleton

public DSIDriverSingleton()
Method Detail

getInstance

public static IDriver getInstance()
Gets the IDriver stored in the singleton.

Returns:
The IDriver instance.

setInstance

public static void setInstance(IDriver driver)
Sets the IDriver instance for this singleton.

Parameters:
driver - The driver to set for the instance.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.