com.dukascopy.api.system
Class TesterFactory

java.lang.Object
  extended by com.dukascopy.api.system.TesterFactory

public class TesterFactory
extends Object

Factory to create IClient instance


Constructor Summary
TesterFactory()
           
 
Method Summary
static ITesterClient getDefaultInstance()
          Returns default instance of Dukascopy ITesterClient.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TesterFactory

public TesterFactory()
Method Detail

getDefaultInstance

public static ITesterClient getDefaultInstance()
                                        throws ClassNotFoundException,
                                               IllegalAccessException,
                                               InstantiationException
Returns default instance of Dukascopy ITesterClient. Instance is created only once, each call will return the same instance

Returns:
instance of IClient
Throws:
ClassNotFoundException - if jar file with implementation was not found
IllegalAccessException - if there is some security problems
InstantiationException - if it's not possible to instantiate new instance of Dukascopy IClient


Copyright © 2011. All Rights Reserved.