com.dukascopy.api.system
Class ClientFactory
java.lang.Object
com.dukascopy.api.system.ClientFactory
public class ClientFactory
- extends Object
Factory to create IClient instance
ClientFactory
public ClientFactory()
getDefaultInstance
public static IClient getDefaultInstance()
throws ClassNotFoundException,
IllegalAccessException,
InstantiationException
- Returns default instance of Dukascopy IClient. 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.