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

com.github.charlemaznable.bunny.client.guice.BunnyOhClientModular Maven / Gradle / Ivy

Go to download

Bunny rabbits will skip hand-in-hand with baby lambs across sunny green meadows.

There is a newer version: 2023.0.4
Show newest version
package com.github.charlemaznable.bunny.client.guice;

import com.github.charlemaznable.bunny.client.config.BunnyClientConfig;
import com.github.charlemaznable.bunny.client.ohclient.BunnyOhClient;
import com.github.charlemaznable.core.net.ohclient.OhModular;
import com.google.inject.Module;

public final class BunnyOhClientModular extends AbstractBunnyModular {

    public BunnyOhClientModular() {
        super();
    }

    public BunnyOhClientModular(Class configClass) {
        super(configClass);
    }

    public BunnyOhClientModular(BunnyClientConfig configImpl) {
        super(configImpl);
    }

    public BunnyOhClientModular(Module configModule) {
        super(configModule);
    }

    @Override
    public Module createModule() {
        return new OhModular(super.createModule())
                .bindClasses(BunnyOhClient.class).createModule();
    }

    public BunnyOhClient getClient() {
        return new OhModular(super.createModule()).getClient(BunnyOhClient.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy