java.lang.Object
org.projecthusky.xua.communication.clients.impl.ClientFactory
Direct Known Subclasses:
ClientFactoryCh

public class ClientFactory extends Object
Class implementing the factory to instantiate correct clients according to the configuration.
Klasse welche die Factory implementiert um Client Instanzen entsprechend der Konfiguration zu erstellen.
  • Constructor Details

    • ClientFactory

      protected ClientFactory()
      Default constructor.
  • Method Details

    • getIdpClient

      public static IdpClient getIdpClient(IdpClientConfig clientConfiguration)
      Method to get a IdpClient as instance.
      Parameters:
      clientConfiguration - the configuration to be set
      Returns:
      the IdpClient instance be created
    • getXuaClient

      public static XuaClient getXuaClient(XuaClientConfig clientConfiguration)
      Method to get a XuaClient instance.
      Parameters:
      clientConfiguration - the configuration to be set
      Returns:
      the XuaClient instance be created