io.relayr.java.RelayrJavaSdk$$StaticInjection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for connecting to the Relayr Cloud
// Code generated by dagger-compiler. Do not edit.
package io.relayr.java;
import dagger.internal.Binding;
import dagger.internal.Linker;
import dagger.internal.StaticInjection;
/**
* A manager for {@code RelayrJavaSdk}'s injections into static fields.
*/
public final class RelayrJavaSdk$$StaticInjection extends StaticInjection {
private Binding userApi;
private Binding deviceApi;
private Binding relayrApi;
private Binding historyApi;
private Binding groupsApi;
private Binding accountsApi;
private Binding deviceModelsApi;
private Binding deviceModelsCache;
private Binding webSocketClient;
private Binding publishersApi;
private Binding projectsApi;
private Binding ruleTemplateApi;
/**
* Used internally to link bindings/providers together at run time
* according to their dependency graph.
*/
@Override
@SuppressWarnings("unchecked")
public void attach(Linker linker) {
userApi = (Binding) linker.requestBinding("io.relayr.java.api.UserApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
deviceApi = (Binding) linker.requestBinding("io.relayr.java.api.DeviceApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
relayrApi = (Binding) linker.requestBinding("io.relayr.java.api.RelayrApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
historyApi = (Binding) linker.requestBinding("io.relayr.java.api.HistoryApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
groupsApi = (Binding) linker.requestBinding("io.relayr.java.api.GroupsApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
accountsApi = (Binding) linker.requestBinding("io.relayr.java.api.AccountsApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
deviceModelsApi = (Binding) linker.requestBinding("io.relayr.java.api.DeviceModelsApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
deviceModelsCache = (Binding) linker.requestBinding("io.relayr.java.storage.DeviceModelCache", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
webSocketClient = (Binding) linker.requestBinding("io.relayr.java.websocket.WebSocketClient", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
publishersApi = (Binding) linker.requestBinding("io.relayr.java.api.PublishersApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
projectsApi = (Binding) linker.requestBinding("io.relayr.java.api.ProjectsApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
ruleTemplateApi = (Binding) linker.requestBinding("io.relayr.java.api.RuleTemplateApi", io.relayr.java.RelayrJavaSdk.class, getClass().getClassLoader());
}
/**
* Performs the injections of dependencies into static fields when requested by
* the {@code dagger.ObjectGraph}.
*/
@Override
public void inject() {
RelayrJavaSdk.userApi = userApi.get();
RelayrJavaSdk.deviceApi = deviceApi.get();
RelayrJavaSdk.relayrApi = relayrApi.get();
RelayrJavaSdk.historyApi = historyApi.get();
RelayrJavaSdk.groupsApi = groupsApi.get();
RelayrJavaSdk.accountsApi = accountsApi.get();
RelayrJavaSdk.deviceModelsApi = deviceModelsApi.get();
RelayrJavaSdk.deviceModelsCache = deviceModelsCache.get();
RelayrJavaSdk.webSocketClient = webSocketClient.get();
RelayrJavaSdk.publishersApi = publishersApi.get();
RelayrJavaSdk.projectsApi = projectsApi.get();
RelayrJavaSdk.ruleTemplateApi = ruleTemplateApi.get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy