All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seeq.link.agent.ClassFactory Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202410141803
Show newest version
package com.seeq.link.agent;

import com.seeq.link.agent.interfaces.Agent;
import com.seeq.link.agent.interfaces.ConnectorLoader;
import com.seeq.link.agent.interfaces.LoginAuthManager;
import com.seeq.link.agent.interfaces.SeeqHttpConnection;
import com.seeq.link.agent.interfaces.SeeqWsConnectionPool;
import com.seeq.link.sdk.interfaces.CertificateService;
import com.seeq.link.sdk.interfaces.SeeqApiProvider;

public class ClassFactory {

    public Program createProgram() {
        return new Program();
    }

    public Agent createAgent() {
        return new DefaultAgent();
    }

    public ConnectorLoader createConnectorLoader() {
        return new DefaultConnectorLoader();
    }

    public SeeqWsConnectionPool createSeeqWsConnectionPool(String linkURL, LoginAuthManager loginAuthManager,
            CertificateService certificateService, boolean isRemoteAgent, String agentIdentification,
            SeeqApiProvider apiProvider) {
        return new DefaultSeeqWsConnectionPool(linkURL, loginAuthManager, certificateService, isRemoteAgent,
                agentIdentification, apiProvider);
    }

    public SeeqHttpConnection createSeeqHttpConnection(String restURL, LoginAuthManager loginAuthManager,
            CertificateService certificateService, SeeqApiProvider apiProvider, SeeqApiProvider indexingApiProvider) {
        return new DefaultSeeqHttpConnection(restURL, loginAuthManager, apiProvider, indexingApiProvider);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy